From b6c486c2ba8eee45630f25c8790d8d89955951e9 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 14 Dec 2023 12:14:10 +0100 Subject: [PATCH] gha: Add `--skip-existing` option to publish to testpypi Changelog-None --- .github/workflows/pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 9ee77a46b641..b3f7d05dc25f 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -74,7 +74,7 @@ jobs: cd ${{ env.WORKDIR}} python3 -m pip config set global.timeout 150 poetry config repositories.testpypi https://test.pypi.org/legacy/ - poetry publish --repository testpypi --no-interaction + poetry publish --repository testpypi --no-interaction --skip-existing - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') && github.repository == 'ElementsProject/lightning'