Skip to content

Commit 0d872df

Browse files
committed
Fix publish workflow to correctly handle dry-run flag for non-tagged versions
1 parent 3e22785 commit 0d872df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Publish workspace
2424
run: |
2525
cargo publish \
26-
${{ startsWith(github.ref, 'refs/tags/v') && '--dry-run' || '' }} \
26+
${{ startsWith(github.ref, 'refs/tags/v') && '' || '--dry-run' }} \
2727
--workspace \
2828
--token ${{ secrets.CRATES_TOKEN }} \
2929
--no-default-features \

0 commit comments

Comments
 (0)