We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ea0c53 commit 1325155Copy full SHA for 1325155
.github/workflows/publish_pypi.yml
@@ -8,6 +8,8 @@ on:
8
jobs:
9
publish:
10
runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: read
13
steps:
14
- name: Checkout the code
15
uses: actions/checkout@v4
@@ -18,7 +20,7 @@ jobs:
18
20
uses: astral-sh/setup-uv@v4
19
21
with:
22
version: "0.5.11"
- enable-cache: true
23
+ enable-cache: false
24
python-version: "3.10"
25
26
- name: Lock and Sync Dependencies
@@ -32,4 +34,4 @@ jobs:
32
34
33
35
- name: Publish to PyPI
36
run: |
- uv publish
37
+ uv publish --token ${{ secrets.PYPI_TOKEN }}
0 commit comments