From fc3f9f84d187f1c8c28ff54f06ef4853f8d258cf Mon Sep 17 00:00:00 2001 From: sfauvel Date: Tue, 26 Mar 2024 16:57:33 +0100 Subject: [PATCH] Fix variable substitution --- .github/workflows/actions/publish-npm-package/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions/publish-npm-package/action.yml b/.github/workflows/actions/publish-npm-package/action.yml index e2dd7437495..7c91ca67aa6 100644 --- a/.github/workflows/actions/publish-npm-package/action.yml +++ b/.github/workflows/actions/publish-npm-package/action.yml @@ -117,5 +117,5 @@ runs: npm set "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" npm whoami cd ${{ inputs.package }}/pkg - npm dist-tag add @${{ inputs.scope }}/${{ inputs.package }}@{{ steps.check_version.outputs.package_version }} latest - npm dist-tag rm @${{ inputs.scope }}/${{ inputs.package }}@{{ steps.check_version.outputs.package_version }} next + npm dist-tag add @${{ inputs.scope }}/${{ inputs.package }}@${{ steps.check_version.outputs.package_version }} latest + npm dist-tag rm @${{ inputs.scope }}/${{ inputs.package }}@${{ steps.check_version.outputs.package_version }} next