diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 4dcd42194..0414f60a1 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -186,6 +186,9 @@ jobs: needs: [ github, version_check ] if: ${{ startsWith(github.ref_name, 'v') || needs.version_check.outputs.PCAPKIT_TAG_EXISTS == 'false' }} strategy: + ## one leg failing must not cancel its siblings: each leg still has its own + ## wheel to attach to the GitHub Release, and a cancelled leg never does + fail-fast: false matrix: python-version: - "3.10" @@ -234,7 +237,12 @@ jobs: skip-existing: true attestations: false + ## TestPyPI is a secondary target and its availability must not gate the + ## real release. A transient ``test.pypi.org`` read timeout failed the + ## 1.5.0b2 Python 3.12 leg *after* PyPI had already accepted the upload, + ## which skipped the GitHub Release step below and lost that wheel. - name: Publish package to TestPyPI + continue-on-error: true uses: pypa/gh-action-pypi-publish@release/v1 with: # password: ${{ secrets.TEST_PYPI_API_TOKEN }}