Skip to content

Commit 928eae2

Browse files
committed
Fix publish workflow
1 parent f16f2d6 commit 928eae2

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ jobs:
209209
permissions:
210210
id-token: write
211211
contents: write
212-
attestations: write
213212

214213
steps:
215214
- uses: actions/download-artifact@v8.0.1
@@ -218,18 +217,8 @@ jobs:
218217
merge-multiple: true
219218
path: dist
220219

221-
- name: Generate artifact attestation
222-
uses: actions/attest-build-provenance@v4.1.0
223-
with:
224-
subject-path: dist/*
225-
226220
- name: Publish to PyPI
227221
if: startsWith(github.ref, 'refs/tags/')
228-
uses: PyO3/maturin-action@v1.51.0
229-
env:
230-
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
231-
222+
uses: pypa/gh-action-pypi-publish@release/v1
232223
with:
233-
command: upload
234-
args: --non-interactive --skip-existing dist/*
235-
rust-toolchain: nightly
224+
packages-dir: dist

0 commit comments

Comments
 (0)