Skip to content

Commit 90830f7

Browse files
committed
Try only uploading source for 3.8
The matrix means every step is run for every version, but the source tar can only be uploaded once. Not sure if this is the right syntax.
1 parent 1dcaa32 commit 90830f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: |
2525
pytest
2626
- name: Publish to PyPI if tagged
27-
if: startsWith(github.ref, 'refs/tags')
27+
if: startsWith(github.ref, 'refs/tags') && matrix.python-version == 3.8
2828
env:
2929
TWINE_USERNAME: "23"
3030
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)