From 756ea955130e1f91070482e89c66da2caaed4385 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Mon, 17 Jul 2023 18:13:45 +0000 Subject: [PATCH] build: skip PyPI upload on existing version --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cfafad5..16f41f3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,6 +58,7 @@ jobs: build: true password: ${{ secrets.EQT_SECRET_TOKEN }} upload: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }} + skip_existing: true # allow for annotated tag amendments - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') name: Release run: >