Skip to content

Commit fca4bff

Browse files
committed
Add condition to skip publishing during dry run in release workflow
1 parent d436eb0 commit fca4bff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/create-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,5 @@ jobs:
8888
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
8989

9090
- name: publish to github packages
91+
if: ${{ !github.event.inputs.dry_run }}
9192
run: npm publish --registry=https://npm.pkg.github.com/

0 commit comments

Comments
 (0)