Skip to content

Commit

Permalink
Temporary disable publishing to test.pypi.org (#12)
Browse files Browse the repository at this point in the history
Related: pypi/support#995
Related: #11
  • Loading branch information
ssbarnea authored Apr 1, 2021
1 parent b02990f commit 01c1f1b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,14 @@ jobs:
fetch-depth: 0 # needed by setuptools-scm
- name: Build dists
run: python -m tox -p auto --parallel-live -vvvv
- name: Publish to test.pypi.org
if: >- # "create" workflows run separately from "push" & "pull_request"
github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.testpypi_password }}
repository_url: https://test.pypi.org/legacy/
# https://github.com/pypa/pypi-support/issues/995
# - name: Publish to test.pypi.org
# if: >- # "create" workflows run separately from "push" & "pull_request"
# github.event_name == 'release'
# uses: pypa/gh-action-pypi-publish@master
# with:
# password: ${{ secrets.testpypi_password }}
# repository_url: https://test.pypi.org/legacy/
- name: Publish to pypi.org
if: >- # "create" workflows run separately from "push" & "pull_request"
github.event_name == 'release'
Expand Down

0 comments on commit 01c1f1b

Please sign in to comment.