Skip to content

Commit 870f117

Browse files
committed
Resolve publish.yml
1 parent edf0db6 commit 870f117

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
types:
66
- created
77

8+
permissions: {}
9+
810
jobs:
911
publish:
1012
runs-on: ubuntu-latest
@@ -17,12 +19,16 @@ jobs:
1719
GITHUB_CONTEXT: ${{ toJson(github) }}
1820
run: echo "$GITHUB_CONTEXT"
1921
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
22+
with:
23+
persist-credentials: false
2024
- name: Set up Python
2125
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2226
with:
2327
python-version-file: ".python-version"
2428
- name: Install uv
2529
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
30+
with:
31+
version: "0.11.4"
2632
- name: Build distribution
2733
run: uv build
2834
- name: Publish

0 commit comments

Comments
 (0)