Skip to content

Commit 4d60422

Browse files
committed
update publish workflow
1 parent 1537fcb commit 4d60422

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ on:
4040
env:
4141
PACKAGE_NAME: "cht-tiling"
4242
PYTHON_VERSION: "3.10"
43+
UV_VERSION: "0.8.22"
4344

4445
jobs:
4546
details:
@@ -99,7 +100,7 @@ jobs:
99100
- name: Install uv
100101
uses: astral-sh/setup-uv@v6
101102
with:
102-
version: "0.8.22"
103+
version: ${{ env.UV_VERSION }}
103104
python-version: ${{ env.PYTHON_VERSION }}
104105

105106
- name: Install package
@@ -133,6 +134,12 @@ jobs:
133134
permissions:
134135
id-token: write
135136
steps:
137+
- name: Install uv
138+
uses: astral-sh/setup-uv@v6
139+
with:
140+
version: ${{ env.UV_VERSION }}
141+
python-version: ${{ env.PYTHON_VERSION }}
142+
136143
- name: Download artifacts
137144
uses: actions/download-artifact@v4
138145
with:

0 commit comments

Comments
 (0)