We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c24175c commit 8623a9eCopy full SHA for 8623a9e
1 file changed
.github/workflows/publish.yml
@@ -1,7 +1,10 @@
1
# publish.yml
2
-
3
name: "Publish"
4
+permissions:
5
+ id-token: write
6
+ contents: read
7
+
8
on:
9
release:
10
types: ["published"]
@@ -15,16 +18,19 @@ jobs:
15
18
- uses: actions/checkout@v4
16
19
17
20
- name: Install uv
- uses: astral-sh/setup-uv@v3
21
+ uses: astral-sh/setup-uv@v5
22
with:
23
enable-cache: true
24
cache-dependency-glob: uv.lock
25
26
- name: Set up Python
27
run: uv python install 3.11
28
29
+ - name: Set new version
30
+ run: uv version ${{ github.ref_name }}
31
32
- name: Build
33
run: uv build
34
35
- name: Publish
- run: uv publish -t ${{ secrets.PYPI_TOKEN }}
36
+ run: uv publish
0 commit comments