Skip to content

Commit

Permalink
chore: fix condition in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mikita-sakalouski committed May 29, 2024
1 parent 7021c77 commit b18ddde
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ env:
jobs:
publish-pypi:
name: Publish to PyPI
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'push' && startsWith(github.event.workflow_run.event.ref, 'refs/tags') }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
# FIXME: This is not working as expected
# && github.event.workflow_run.event == 'push' && startsWith(github.event.workflow_run.event.ref, 'refs/tags')
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit b18ddde

Please sign in to comment.