Skip to content

Commit fe82035

Browse files
committed
Group conditional tests
1 parent 33acdc9 commit fe82035

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: |
4444
pytest
4545
- name: Build and publish
46-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release' && startsWith(github.event.release.tag_name, 'v')
46+
if: (github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')) || (github.event_name == 'release' && startsWith(github.event.release.tag_name, 'v'))
4747
env:
4848
TWINE_USERNAME: __token__
4949
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)