Skip to content

Commit 595cb39

Browse files
committed
Fix if statement in pypi workflow
1 parent c87f48c commit 595cb39

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/pypi.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ jobs:
7575
path: dist
7676

7777
- name: Publish distribution
78-
if: github.repository == 'ssl-hep/ServiceX_analysis_utils'
79-
if: github.ref == 'refs/heads/main'
78+
if: ${{ github.repository == 'ssl-hep/ServiceX_analysis_utils' && github.ref == 'refs/heads/main' }}
8079
uses: pypa/gh-action-pypi-publish@v1.12.3
8180
with:
8281
print-hash: true

0 commit comments

Comments
 (0)