Skip to content

Commit

Permalink
Try only uploading source for 3.8
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
polm committed Jul 26, 2020
1 parent 1dcaa32 commit 90830f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
pytest
- name: Publish to PyPI if tagged
if: startsWith(github.ref, 'refs/tags')
if: startsWith(github.ref, 'refs/tags') && matrix.python-version == 3.8
env:
TWINE_USERNAME: "23"
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
Expand Down

0 comments on commit 90830f7

Please sign in to comment.