Skip to content

Commit

Permalink
Fix: TestPyPI へのアップロードが失敗しても CI を成功扱いにする
Browse files Browse the repository at this point in the history
以前は既に TestPyPI にアップロードされていたのに sdist だけスキップできなくなった理由は分からないが、いずれにせよ無視するのが手っ取り早そうとなった
ref: pypa/gh-action-pypi-publish#201
  • Loading branch information
tsukumijima committed Dec 23, 2024
1 parent 1d35fe5 commit dc77318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ jobs:
- name: Publish to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: ${{ !startsWith(github.ref, 'refs/tags') }}
continue-on-error: true
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: ./wheelhouse
skip-existing: true
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
verbose: true

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down

0 comments on commit dc77318

Please sign in to comment.