Skip to content

Commit 0e353a1

Browse files
committed
fix: Need to set up Python and uv for running uv build
1 parent 66801c5 commit 0e353a1

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/semantic-release.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,18 @@ jobs:
2424
#ssh-key: ${{ secrets.DEPLOY_KEY }}
2525
fetch-depth: 0
2626

27-
#- name: Setup Python
28-
# uses: actions/setup-python@v5
29-
# with:
30-
# python-version: "3.11"
27+
- name: Setup Python
28+
uses: actions/setup-python@v5
29+
with:
30+
python-version: "3.11"
31+
32+
- name: Install uv and sync dev dependencies
33+
run: |
34+
pip install uv
35+
uv venv
36+
echo "VIRTUAL_ENV=$PWD/.venv" >> $GITHUB_ENV
37+
echo "$PWD/.venv/bin" >> $GITHUB_PATH
38+
uv sync --dev
3139
3240
- name: Python Semantic Release
3341
id: release

0 commit comments

Comments
 (0)