We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e39328 commit bef3467Copy full SHA for bef3467
1 file changed
.github/workflows/actions/publish-npm/action.yml
@@ -42,7 +42,7 @@ runs:
42
id: update_version
43
run: |
44
npm version ${{ inputs.version }}
45
- echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
+ echo "VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
46
shell: bash
47
working-directory: ${{ inputs.working-directory }}
48
# - name: Run Build
@@ -67,7 +67,7 @@ runs:
67
git remote -v
68
git push origin main --tags
69
gh auth login --with-token ${{ inputs.ghToken }}
70
- gh release create ${{ steps.update_version.outputs.version }} --title "v${{ steps.update_version.outputs.version }}" --generate-notes
+ gh release create "v$VERSION" --title "v$VERSION" --generate-notes
71
72
env:
73
GH_TOKEN: ${{ inputs.ghToken }}
0 commit comments