Skip to content

Commit

Permalink
ci: only publish to PyPI on Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhynes7 committed Apr 8, 2022
1 parent 469393f commit f56c1ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
gcov_prefix: ${{ env.GITHUB_WORKSPACE }}

- name: Build and publish to PyPI
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/v') && matrix.python-version == '3.10'
uses: JRubics/poetry-publish@v1.8
with:
pypi_token: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit f56c1ab

Please sign in to comment.