Skip to content

Commit 8b418e4

Browse files
committed
CI: Use Hatch GHA install action
1 parent 8200dfe commit 8b418e4

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,26 @@ jobs:
1313
name: 'Build & publish package to PyPI'
1414
runs-on: 'ubuntu-latest'
1515
steps:
16-
- uses: actions/checkout@v6
16+
17+
- name: Acquire source code
18+
uses: actions/checkout@v6
1719
with:
1820
fetch-depth: 0
1921
fetch-tags: true
2022
persist-credentials: false
2123

22-
- name: Set up uv
24+
- name: Install uv
2325
uses: astral-sh/setup-uv@v7
2426
with:
2527
activate-environment: true
2628
enable-cache: true
2729
python-version: "3.14"
2830

29-
- name: Set up Hatch and Twine
30-
run: uv pip install hatch twine
31+
- name: Install Hatch
32+
uses: pypa/hatch@install
33+
34+
- name: Install Twine
35+
run: uv pip install twine
3136

3237
- name: Build package
3338
run: hatch build

0 commit comments

Comments
 (0)