From 126dd0cca8dbf7669caf9e0be51a117afa76837f Mon Sep 17 00:00:00 2001 From: Poovamraj T T Date: Fri, 26 Apr 2024 11:05:20 +0200 Subject: [PATCH] Update npm-release.yml --- .github/workflows/npm-release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index 2dd40045..2e8ceb8a 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -32,17 +32,17 @@ jobs: # Get the version from the branch name - id: get_version - uses: ./get-version + uses: ./.github/actions/get-version # Get the prerelease flag from the branch name - id: get_prerelease - uses: ./get-prerelease + uses: ./.github/actions/get-prerelease with: version: ${{ steps.get_version.outputs.version }} # Get the release notes - id: get_release_notes - uses: ./get-release-notes + uses: ./.github/actions/get-release-notes with: token: ${{ secrets.github-token }} version: ${{ steps.get_version.outputs.version }} @@ -51,7 +51,7 @@ jobs: # Check if the tag already exists - id: tag_exists - uses: ./tag-exists + uses: ./.github/actions/tag-exists with: tag: ${{ steps.get_version.outputs.version }} token: ${{ secrets.github-token }} @@ -61,7 +61,7 @@ jobs: run: exit 1 # Publish the release to our package manager - - uses: ./npm-publish + - uses: ./.github/actions/npm-publish with: node-version: ${{ inputs.node-version }} require-build: ${{ inputs.require-build }} @@ -70,7 +70,7 @@ jobs: release-directory: ${{ inputs.release-directory }} # Create a release for the tag - - uses: ./release-create + - uses: ./.github/actions/release-create with: token: ${{ secrets.github-token }} name: ${{ steps.get_version.outputs.version }}