Skip to content

Commit 21f7240

Browse files
committed
Fix: release action condition
1 parent f632fbc commit 21f7240

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -304,15 +304,15 @@ jobs:
304304

305305

306306
- name: publish cmaze
307-
if: ${{ fromJSON(needs.create-release.outputs.do_smt) == true }}
307+
if: ${{ needs.create-release.outputs.dry_run != 'yes' }}
308308
uses: katyo/publish-crates@v2
309309
with:
310310
path: ./cmaze
311311
registry-token: ${{ secrets.CRATES_IO }}
312312
ignore-unpublished-changes: true
313313

314314
- name: publish tmaze
315-
if: ${{ fromJSON(needs.create-release.outputs.do_smt) == true }}
315+
if: ${{ needs.create-release.outputs.dry_run != 'yes' }}
316316
uses: katyo/publish-crates@v2
317317
with:
318318
path: ./tmaze

0 commit comments

Comments
 (0)