Skip to content

Commit 0f59dc2

Browse files
mrecachinasCopilot
andcommitted
ci: replace deprecated maturin upload with pypa/gh-action-pypi-publish
maturin upload/publish commands are deprecated (maturin#2334). Use the official PyPA publish action with trusted publishing instead. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a60ee42 commit 0f59dc2

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ jobs:
169169
merge-multiple: true
170170

171171
- name: Publish to PyPI
172-
uses: PyO3/maturin-action@v1
172+
uses: pypa/gh-action-pypi-publish@release/v1
173173
with:
174-
command: upload
175-
args: --non-interactive dist/*
174+
packages-dir: dist/

0 commit comments

Comments
 (0)