Skip to content

Commit 524293a

Browse files
committed
fix: if condition
1 parent 03f8143 commit 524293a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 5 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'
62-
run: node scripts/release.js --dry-run --tag ${{ github.event.inputs.tag }}
61+
if: inputs.dry_run
62+
run: node scripts/release.mjs --dry-run --tag ${{ inputs.tag }}
6363

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

0 commit comments

Comments
 (0)