Skip to content

Commit 49a317c

Browse files
committed
ci
1 parent 655506e commit 49a317c

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/pypi.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build distributions for PyPI
1+
name: PyPI
22

33
on: [push, release] # TODO: change to just release
44

@@ -38,19 +38,26 @@ jobs:
3838
cd tests/test_ssh
3939
./run.sh
4040
41-
- uses: actions/upload-artifact@v4
41+
- name: Upload dist artifacts
42+
uses: actions/upload-artifact@v4
4243
with:
4344
path: dist/*
4445

4546
upload:
46-
name: Upload to PyPI
47+
name: Upload
4748
needs: [build]
4849
runs-on: ubuntu-latest
4950
environment: pypi
5051
permissions:
5152
id-token: write
5253
steps:
53-
- uses: actions/download-artifact@v4
54+
- name: Install uv
55+
uses: astral-sh/setup-uv@v3
56+
with:
57+
version: "0.4.30"
58+
59+
- name: Download dist artifacts
60+
uses: actions/download-artifact@v4
5461

5562
- name: Publish
5663
run: uv publish

0 commit comments

Comments
 (0)