From ea8fd0920ac579c2e0669da1a78268215425330e Mon Sep 17 00:00:00 2001 From: Aarno Aukia Date: Tue, 12 Nov 2024 11:56:48 +0100 Subject: [PATCH] continue-on-error for testpypi and github release creation --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 45fa2ed..3bcc9d0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -102,6 +102,7 @@ jobs: ./dist/*.tar.gz ./dist/*.whl - name: Create GitHub Release + continue-on-error: true # this fails if the release was created through the web GUI env: GITHUB_TOKEN: ${{ github.token }} run: >- @@ -140,6 +141,7 @@ jobs: name: python-package-distributions path: dist/ - name: Publish distribution to TestPyPI + continue-on-error: true # upload fails if the version number and hash are the same as a previous release uses: pypa/gh-action-pypi-publish@release/v1 with: repository-url: https://test.pypi.org/legacy/