From 0ca0a875653cff1e3fb647e0d52713061b2d6c9a Mon Sep 17 00:00:00 2001 From: Olivia Houghton Date: Wed, 6 Dec 2023 09:59:29 +0100 Subject: [PATCH] Add skip-existing option to publish --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b5d274..62c4e74 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,6 +36,6 @@ jobs: poetry config virtualenvs.create false poetry build # basemath is already present as a package (as in math with bases), so use a slightly different name - poetry publish -u "__token__" --password "$PYPI_TOKEN" + poetry publish --skip-existing -u "__token__" --password "$PYPI_TOKEN" env: PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}