Skip to content

Commit dea584d

Browse files
jensensclaude
andcommitted
Replace deprecated maturin upload with pypa/gh-action-pypi-publish
maturin upload/publish commands are deprecated (PyO3/maturin#2334). Use the standard pypa/gh-action-pypi-publish action instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 691366e commit dea584d

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,9 @@ jobs:
117117
merge-multiple: true
118118
path: dist
119119
- name: Publish to Test PyPI
120-
uses: PyO3/maturin-action@v1
120+
uses: pypa/gh-action-pypi-publish@release/v1
121121
with:
122-
command: upload
123-
args: --non-interactive --skip-existing dist/*
122+
repository-url: https://test.pypi.org/legacy/
124123

125124
# Upload to real PyPI on GitHub Release
126125
release-pypi:
@@ -138,7 +137,4 @@ jobs:
138137
merge-multiple: true
139138
path: dist
140139
- name: Publish to PyPI
141-
uses: PyO3/maturin-action@v1
142-
with:
143-
command: upload
144-
args: --non-interactive dist/*
140+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)