Skip to content

Commit 12fca10

Browse files
committed
is true
1 parent 95bdd51 commit 12fca10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

template/.github/workflows/publish.yaml.jinja

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ jobs:
206206

207207
create-tag:
208208
name: Create the git tag
209-
if: ${{ github.event.inputs.publish_to_primary }}
209+
if: ${{ github.event.inputs.publish_to_primary == 'true' }}
210210
needs: [ install-from-staging ]
211211
permissions:
212212
contents: write # needed to push the tag
@@ -225,7 +225,7 @@ jobs:
225225

226226
publish-to-primary:
227227
name: Publish Python distribution to Primary Package Registry
228-
if: ${{ github.event.inputs.publish_to_primary }}
228+
if: ${{ github.event.inputs.publish_to_primary == 'true' }}
229229
needs: [ create-tag ]
230230
runs-on: {% endraw %}{{ gha_linux_runner }}{% raw %}
231231
environment:
@@ -260,7 +260,7 @@ jobs:
260260

261261
install-from-primary:
262262
name: Install package from primary registry
263-
if: ${{ github.event.inputs.publish_to_primary }}
263+
if: ${{ github.event.inputs.publish_to_primary == 'true' }}
264264
needs: [ publish-to-primary, get-values ]
265265
strategy:
266266
matrix:

0 commit comments

Comments
 (0)