From 38f1d818101eedb902b0f89047beac0238cb4117 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Wed, 29 Nov 2023 20:50:31 +0000 Subject: [PATCH] skip existing when uploading to Test PyPI only --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f00c2f8..bd73a18 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -116,6 +116,7 @@ jobs: password: ${{ secrets.TEST_PYPI_API_TOKEN }} repository-url: https://test.pypi.org/legacy/ packages-dir: ./ + skip-existing: true release: name: Pulish to PyPI if upload to Test PyPI was successful @@ -129,4 +130,3 @@ jobs: MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }} with: command: upload - args: --skip-existing *