Skip to content

Commit

Permalink
Increase connection timeout for TestPyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
simu committed Nov 13, 2023
1 parent 482b49f commit bad2c1e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
run: poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }}
- name: Publish to TestPyPI
if: "!startsWith(github.ref, 'refs/tags/v')"
env:
# increase connection timeout to TestPyPI to 60s
POETRY_REQUESTS_TIMEOUT: "60"
run: |
poetry config repositories.test-pypi https://test.pypi.org/legacy/
poetry publish -r test-pypi -u __token__ -p ${{ secrets.TEST_PYPI_TOKEN }}

0 comments on commit bad2c1e

Please sign in to comment.