Skip to content

Commit

Permalink
Remove TestPyPI upload due to attestation failure (#303)
Browse files Browse the repository at this point in the history
A generated attestation in the upload job can only be used for a single upload,
and is not cleared between uploads - hence, the PyPI release workflow reuses the
attestation of TestPyPI, and gets rejected.

For now, remove the TestPyPI upload, so that we don't run into the stale attestation
problem.
  • Loading branch information
nicholasjng authored Dec 20, 2024
1 parent 25420f7 commit 3828ab3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,5 @@ jobs:
with:
name: dist
path: dist
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true # tolerate release package file duplicates
repository-url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 3828ab3

Please sign in to comment.