Skip to content

Commit

Permalink
chore: use head branch of workflow run
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Nov 15, 2024
1 parent 1d972c5 commit 652f399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- run: npm ci
- run: npm version ${TAG_NAME} --git-tag-version=false
env:
TAG_NAME: ${{ github.event.release.tag_name }}
TAG_NAME: ${{ github.event.workflow_run.head_branch }}
- run: npm whoami; npm publish --ignore-scripts --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 652f399

Please sign in to comment.