From 3828ab354cb3d7f1350f81d75505ea95de110da7 Mon Sep 17 00:00:00 2001 From: Nicholas Junge Date: Fri, 20 Dec 2024 12:22:05 +0100 Subject: [PATCH] Remove TestPyPI upload due to attestation failure (#303) 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. --- .github/workflows/release.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ba995eea..57ab89f0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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