Skip to content

Commit

Permalink
ci: Fix pypi token config (#912)
Browse files Browse the repository at this point in the history
This should be the last one...
  • Loading branch information
aborgna-q committed Apr 3, 2024
1 parent 142ca5e commit ff9d786
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,5 @@ jobs:
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' && startsWith(github.ref, format('refs/tags/{0}-v', matrix.package)) }}
run: |
cd ${{ matrix.package }}
poetry config repositories.test-pypi https://test.pypi.org/legacy/
poetry config pypi-token.test-pypi ${{ secrets.PYPI_PUBLISH }}
poetry publish -r test-pypi --dist-dir ../dist --skip-existing
poetry config pypi-token.pypi ${{ secrets.PYPI_PUBLISH }}
poetry publish --dist-dir ../dist --skip-existing

0 comments on commit ff9d786

Please sign in to comment.