Skip to content

Commit

Permalink
disable experimental attestations and fail fast only for automatic re…
Browse files Browse the repository at this point in the history
…leases

PiperOrigin-RevId: 707874126
Change-Id: Icbffa4410bd83ef3bbe27407ee513654055da9da
  • Loading branch information
jagapiou authored and copybara-github committed Dec 19, 2024
1 parent 39d8ec0 commit a5a2c91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
SYSTEM_VERSION_COMPAT: 0 # See https://github.com/actions/setup-python/issues/279.
timeout-minutes: 180
strategy:
fail-fast: false
fail-fast: ${{ github.event_name == 'release' }}
matrix:
os:
- macos-13
Expand Down Expand Up @@ -116,10 +116,12 @@ jobs:
if: github.event_name == 'release' || inputs.upload_to_test_pypi
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70
with:
attestations: false
repository-url: https://test.pypi.org/legacy/
verbose: true
- name: Publish to PyPI
if: github.event_name == 'release' || inputs.upload_to_pypi
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70
with:
attestations: false
verbose: true

0 comments on commit a5a2c91

Please sign in to comment.