Skip to content

Commit bdca199

Browse files
iamgpampcode-com
andcommitted
ci: fix action reference (use astral-sh/setup-uv) and install build/twine before building
Co-authored-by: Amp <amp@ampcode.com> Amp-Thread-ID: https://ampcode.com/threads/T-2faefe91-1117-4536-b79d-e0f711b0bced
1 parent 98dc673 commit bdca199

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ jobs:
2222
- uses: actions/setup-python@v5
2323
with:
2424
python-version: '3.11'
25-
- uses: astral-sh/uv-action@v3
25+
- uses: astral-sh/setup-uv@v3
26+
- name: Install build tooling
27+
run: |
28+
uv pip install --system --quiet build twine
2629
- name: Build ${{ matrix.package }}
2730
working-directory: src/${{ matrix.package }}
2831
run: |
@@ -46,7 +49,10 @@ jobs:
4649
- uses: actions/setup-python@v5
4750
with:
4851
python-version: '3.11'
49-
- uses: astral-sh/uv-action@v3
52+
- uses: astral-sh/setup-uv@v3
53+
- name: Install build tooling
54+
run: |
55+
uv pip install --system --quiet build twine
5056
- name: Build main
5157
run: |
5258
uv run python -m build

0 commit comments

Comments
 (0)