Skip to content

Commit

Permalink
👷 ci(workflow): update github actions conditional logic
Browse files Browse the repository at this point in the history
- refine condition syntax for repository check
- improve readability of conditional execution
- ensure consistent output validation for PyPI and TestPyPI jobs
  • Loading branch information
awwaawwa committed Jan 24, 2025
1 parent 58401a0 commit c7ef4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
- publish-to-pypi
- publish-to-testpypi
if: |
needs.check-repository.outputs.is_main_repo == 'true' &&
always() && needs.check-repository.outputs.is_main_repo == 'true' &&
(needs.publish-to-pypi.result == 'success' || needs.publish-to-testpypi.result == 'success')
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit c7ef4c6

Please sign in to comment.