Skip to content

Commit

Permalink
Add cli flag required to actually skip npm publish
Browse files Browse the repository at this point in the history
  • Loading branch information
carhartl committed Apr 22, 2023
1 parent c740408 commit 0e8eb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -47,7 +47,7 @@ jobs:
git config --local user.name "github-actions[bot]"
# This email identifies the commit as GitHub Actions - see https://github.com/orgs/community/discussions/26560
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
- run: npm run release ${{ github.event.inputs.bump }}${{ github.event.inputs.dry-run == 'true' && ' -- --dry-run' || '' }}
- run: npm run release ${{ github.event.inputs.bump }}${{ (github.event.inputs.dry-run == 'true' || github.event.inputs.skip-npm == 'true') && ' --' || '' }}${{ github.event.inputs.dry-run == 'true' && ' --dry-run' || '' }}${{ github.event.inputs.skip-npm == 'true' && ' --no-npm' || '' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 0e8eb66

Please sign in to comment.