Skip to content

Commit a1f6af6

Browse files
authored
Merge pull request #11 from proxymesh/fix/workflow-boolean-condition
Fix boolean comparison in PyPI workflow
2 parents 7fa6df0 + e467388 commit a1f6af6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
test_pypi:
1111
description: 'Publish to TestPyPI instead of PyPI'
1212
required: false
13-
default: 'false'
13+
default: false
1414
type: boolean
1515

1616
jobs:
@@ -42,7 +42,7 @@ jobs:
4242

4343
publish-to-pypi:
4444
name: Publish to PyPI
45-
if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.test_pypi == 'false')
45+
if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && inputs.test_pypi == false)
4646
needs: build
4747
runs-on: ubuntu-latest
4848

@@ -69,7 +69,7 @@ jobs:
6969

7070
publish-to-testpypi:
7171
name: Publish to TestPyPI
72-
if: github.event_name == 'workflow_dispatch' && inputs.test_pypi == 'true'
72+
if: github.event_name == 'workflow_dispatch' && inputs.test_pypi == true
7373
needs: build
7474
runs-on: ubuntu-latest
7575

0 commit comments

Comments
 (0)