From dc602a89426e81d9c05c4117befd9cd7ecec81e7 Mon Sep 17 00:00:00 2001 From: Tushar Pandey Date: Tue, 21 Jan 2025 14:31:11 +0530 Subject: [PATCH] fix npm release workflow --- .github/workflows/npm-release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index 1595357d..bc81ecd2 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -7,7 +7,7 @@ on: required: true type: string require-build: - default: true + default: "true" type: string release-directory: default: './' @@ -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 }}