Skip to content

Commit

Permalink
update publish github workflow if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaykarle committed Oct 14, 2024
1 parent a34178f commit 9cd5258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
publish-pypi:
name: Publish to PyPI
if: ${{ startsWith(github.ref, 'refs/tags/') && github.event.workflow_run.conclusion == 'success' }}
if: ${{ startsWith(github.ref, 'refs/tags/') && (github.event.workflow_run.conclusion == 'success') }}
runs-on: ubuntu-latest
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
Expand Down

0 comments on commit 9cd5258

Please sign in to comment.