Skip to content

Commit

Permalink
Use pypa/gh-action-pypi-publish@release/v1 instead of pinning to th…
Browse files Browse the repository at this point in the history
…e specific version.

This is needed to release our new version using `Metadata-Version: 2.3` (used by hatchling). The support was added in v1.8.13. See https://github.com/pypa/gh-action-pypi-publish/releases.

PiperOrigin-RevId: 617920963
  • Loading branch information
yilei authored and Copybara-Service committed Mar 21, 2024
1 parent 8383e5d commit 7e1a82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pypi_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: python -m build

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.3
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 7e1a82c

Please sign in to comment.