From 0505f4b446658eee222e986c557f67d1f865da0b Mon Sep 17 00:00:00 2001 From: masklinn Date: Wed, 11 Nov 2026 18:42:36 +0100 Subject: [PATCH] Allow opt-in update of wheels release When adding support for new runtime versions (or in this case abi3t) pypi gets unhappy and amgy by default. With a more manual pipeline we might be able to only upload new wheels but the automated workflow doesn't really allow that, so just skip existing files instead. --- .github/workflows/release-wheels.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release-wheels.yml b/.github/workflows/release-wheels.yml index a370eb9..e2e2c39 100644 --- a/.github/workflows/release-wheels.yml +++ b/.github/workflows/release-wheels.yml @@ -10,6 +10,11 @@ on: type: boolean default: false required: true + update: + description: "Update existing release" + type: boolean + default: false + required: true permissions: {} @@ -162,6 +167,7 @@ jobs: uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2 with: verbose: true + skip-existing: ${{ inputs.update }} - name: Publish to TestPyPI if: (!inputs.release) uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2