Skip to content

Commit 6c38cfb

Browse files
committed
ci(release): fix publish conditional
1 parent 5dadd78 commit 6c38cfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
with:
6969
version: pnpm run version
7070
# Use changeset publish to only publish packages that were actually bumped
71-
publish: ${{ (inputs.dry-run == true || inputs.publish-npm == false) && 'echo Skipping npm publish' || 'pnpm build && pnpm changeset publish' }}
71+
publish: ${{ (inputs.dry-run == true || inputs.publish-npm == false) && 'echo Skipping npm publish' || 'sh -c "pnpm build && pnpm changeset publish"' }}
7272
createGithubReleases: ${{ inputs.create-release != false }}
7373
env:
7474
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)