Skip to content

Commit 2afe356

Browse files
committed
fix: if condition
1 parent 03f8143 commit 2afe356

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ jobs:
5858
run: pnpm run test
5959

6060
- name: Dry run release to npm
61-
if: inputs.dry_run == 'true'
61+
if: inputs.dry_run
6262
run: node scripts/release.js --dry-run --tag ${{ github.event.inputs.tag }}
6363

64-
- name: Dry run release to npm
65-
if: inputs.dry_run == 'false'
64+
- name: Release to npm
65+
if: ${{ !inputs.dry_run }}
6666
run: node scripts/release.js --tag ${{ github.event.inputs.tag }}

0 commit comments

Comments
 (0)