Skip to content

Commit

Permalink
continue-on-error for testpypi and github release creation
Browse files Browse the repository at this point in the history
  • Loading branch information
arska authored Nov 12, 2024
1 parent cf041c0 commit ea8fd09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: >-
Expand Down Expand Up @@ -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/
Expand Down

0 comments on commit ea8fd09

Please sign in to comment.