Skip to content

Commit 0f57a8e

Browse files
authored
Move to uv for publishing to pypi (#63)
1 parent 44090a2 commit 0f57a8e

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,16 +76,13 @@ jobs:
7676
# Used to generate artifact attestation
7777
attestations: write
7878
steps:
79+
- name: Install uv
80+
uses: astral-sh/setup-uv@v7
7981
- uses: actions/download-artifact@v4
8082
- name: Generate artifact attestation
8183
uses: actions/attest-build-provenance@v2
8284
with:
8385
subject-path: "wheels-*/*"
8486
- name: Publish to PyPI
8587
if: ${{ startsWith(github.event.release.tag_name, 'v') }}
86-
uses: PyO3/maturin-action@v1
87-
env:
88-
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
89-
with:
90-
command: upload
91-
args: --non-interactive --skip-existing wheels-*/*
88+
run: uv publish

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ __pycache__/
1010
.pytest_cache/
1111

1212
site/
13+
dist/

0 commit comments

Comments
 (0)