Skip to content

Commit d3bc1cc

Browse files
committed
fix: bump pypa/gh-action-pypi-publish to v1.12.3 for metadata v2.4 support
The v1.8.11 action only supports metadata up to v2.2, but newer setuptools generates v2.4 metadata, causing PyPI publish to fail with "Metadata is missing required fields" error.
1 parent 910aec0 commit d3bc1cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ jobs:
9898
# upload to PyPI only on release
9999
if: github.event.release && github.event.action == 'published'
100100
steps:
101-
- uses: actions/download-artifact@v4.1.7
101+
- uses: actions/download-artifact@v4
102102
with:
103103
name: dist
104104
path: dist
105105

106-
- uses: pypa/gh-action-pypi-publish@v1.8.11
106+
- uses: pypa/gh-action-pypi-publish@v1.12.3
107107
with:
108108
user: __token__
109109
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)