Skip to content

Commit 3e57bdf

Browse files
Fix deployement logic (#75)
1 parent f984a72 commit 3e57bdf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/pypi-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ jobs:
4242
runs-on: ubuntu-latest
4343
needs:
4444
- release-build
45-
if: github.event_name == 'workflow_dispatch' && !github.event.inputs.dry_run
45+
# Run this job for workflow_dispatch events when dry_run input is not 'true'
46+
# Note: The comparison is against a string value 'true' since GitHub Actions inputs are strings
47+
if: github.event_name == 'workflow_dispatch' && github.event.inputs.dry_run != 'true'
4648
environment:
4749
name: testpypi
4850
permissions:

0 commit comments

Comments
 (0)