Skip to content

Commit

Permalink
reenable testpypi ci job
Browse files Browse the repository at this point in the history
  • Loading branch information
lreiher committed Jul 5, 2024
1 parent 13eebdc commit 924932f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
strategy:
matrix:
package: [docker-run-cli, docker-run-docker-ros]
continue-on-error: true
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -29,17 +28,18 @@ jobs:
run: python3 -m pip install --user build
- name: Build wheel and tarball
run: python3 -m build --sdist --wheel --outdir dist/ ${{ matrix.package }}
# TestPyPI currently disabled cause `skip-existing: true` is not honored
# https://github.com/pypa/gh-action-pypi-publish/issues/201
# - name: Publish to TestPyPI
# uses: pypa/[email protected]
# with:
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
# repository-url: https://test.pypi.org/legacy/
# skip-existing: true
- name: Publish to TestPyPI
uses: pypa/[email protected]
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
skip-existing: true
- name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/[email protected]
with:
password: ${{ secrets.PYPI_API_TOKEN }}
skip-existing: true
# `continue-on-error` needed cause `skip-existing: true` is not honored
# https://github.com/pypa/gh-action-pypi-publish/issues/201
continue-on-error: true

0 comments on commit 924932f

Please sign in to comment.