Commit 32f55dd
authored
fix(ci): Properly check boolean input as string in publish condition (#448)
GitHub Actions converts boolean inputs to strings ('true'/'false').
Checking the value directly would be truthy even for 'false'.
Fixed by checking: publish_to_pypi != 'false'
This ensures:
- Runs when checkbox is checked (value: 'true')
- Runs with default value (default: true)
- Skips when checkbox is unchecked (value: 'false')1 parent 4ddda26 commit 32f55dd
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| |||
0 commit comments