Skip to content

Commit 9005da6

Browse files
Updated release pipeline to use uv
1 parent 26063f3 commit 9005da6

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,21 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414

1515
- name: Setup Python
16-
uses: actions/setup-python@v3
16+
uses: actions/setup-python@v4
1717
with:
1818
python-version: "3.13"
1919

20+
- name: Install uv
21+
uses: astral-sh/setup-uv@v3
22+
with:
23+
version: "latest"
24+
2025
- name: Install dependencies
2126
run: |
22-
pip install twine
23-
pip install wheel
27+
uv pip install build twine
2428
2529
- name: Build
2630
run: |
@@ -30,7 +34,7 @@ jobs:
3034
3135
- name: Upload
3236
run: |
33-
echo "Uploading ${{ github.event.release.tag_name }}"
34-
make publish \
35-
USERNAME=__token__ \
36-
PASSWORD=${{ secrets.PYPI_TOKEN }}
37+
echo "Uploading ${{ github.event.release.tag_name }}"
38+
make publish \
39+
USERNAME=__token__ \
40+
PASSWORD=${{ secrets.PYPI_TOKEN }}

0 commit comments

Comments
 (0)