Skip to content

Commit

Permalink
Do not try to build/send packages to TestPyPI for now
Browse files Browse the repository at this point in the history
We don't have access to test.pypi.org to do this for now as someone
else has claimed this project. Have opened at ticket at
pypi/support#4484 to remedy but looks like
there is a ~6 month backlog so unlikely to get relief soon.
  • Loading branch information
kjd committed Aug 22, 2024
1 parent b8d9784 commit f8a8de4
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,28 +87,28 @@ jobs:
'${{ github.ref_name }}' dist/**
--repo '${{ github.repository }}'
publish-to-testpypi:
name: Publish to Test PyPI
needs:
- build
runs-on: ubuntu-latest
# publish-to-testpypi:
# name: Publish to Test PyPI
# needs:
# - build
# runs-on: ubuntu-latest

environment:
name: testpypi
url: https://test.pypi.org/p/idna-preflight
# environment:
# name: testpypi
# url: https://test.pypi.org/p/idna

permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
# permissions:
# id-token: write # IMPORTANT: mandatory for trusted publishing

steps:
- name: Download all the dists
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
- name: Publish distribution to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
verbose: true
print-hash: true
repository-url: https://test.pypi.org/legacy/
# steps:
# - name: Download all the dists
# uses: actions/download-artifact@v4
# with:
# name: python-package-distributions
# path: dist/
# - name: Publish distribution to TestPyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# verbose: true
# print-hash: true
# repository-url: https://test.pypi.org/legacy/

0 comments on commit f8a8de4

Please sign in to comment.