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 0ff434c commit fc716ecCopy full SHA for fc716ec
1 file changed
.github/workflows/publish.yml
@@ -5,10 +5,14 @@ on:
5
tags:
6
- "[0-9]+.[0-9]+.[0-9]+"
7
- "[0-9]+.[0-9]+.[0-9]+-[a-zA-Z0-9]+.[0-9]+"
8
+
9
jobs:
10
run:
11
name: "Build and publish release"
12
runs-on: ubuntu-latest
13
+ permissions:
14
+ id-token: write # Required for trusted publishing
15
+ contents: read
16
17
steps:
18
- uses: actions/checkout@v4
@@ -25,4 +29,4 @@ jobs:
25
29
run: uv build
26
30
27
31
- name: Publish
28
- run: uv publish -t ${{ secrets.PYPI_TOKEN }}
32
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments