Skip to content

Commit

Permalink
Fix false positive on publishing condition
Browse files Browse the repository at this point in the history
  • Loading branch information
object-Object committed Nov 21, 2023
1 parent 602b94d commit 46d6e5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
update-tags:
runs-on: ubuntu-latest
needs: [build, test]
if: needs.build.outputs.release
if: needs.build.outputs.release == 'true'
permissions:
contents: write
steps:
Expand All @@ -101,7 +101,7 @@ jobs:
publish-pypi:
runs-on: ubuntu-latest
needs: [build, test]
if: needs.build.outputs.release
if: needs.build.outputs.release == 'true'
environment:
name: pypi
url: https://pypi.org/p/${{ env.PYPI_PACKAGE }}
Expand Down

0 comments on commit 46d6e5f

Please sign in to comment.