]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
continue-on-error for upload-release-assets to handle already_exists on re-runs
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 27 Jun 2026 19:59:35 +0000 (15:59 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 27 Jun 2026 22:32:39 +0000 (18:32 -0400)
When re-running the wheel build, wheels already uploaded to the GitHub release
cause upload-release-assets to fail with already_exists. With continue-on-error,
the attestation and PyPI upload steps still proceed since the wheel files remain
in ./wheelhouse/ regardless.

Change-Id: Id2ba96e95dd93b3ba14e9bf117a5d1a057178f37

.github/workflows/create-wheels.yaml

index e54c6eceb7ac48c764aa0719b98441fe701014ba..87783b04097cd8a7d0ccaa5a63f58f7d5fe550c2 100644 (file)
@@ -122,6 +122,7 @@ jobs:
 
       - name: Upload wheels to release
         # upload the generated wheels to the github release
+        continue-on-error: true
         uses: sqlalchemyorg/upload-release-assets@sa
         with:
           repo-token: ${{ secrets.GITHUB_TOKEN }}