Skip to content

Commit 8d9efda

Browse files
committed
Change build to use uv
1 parent 396c0e3 commit 8d9efda

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

.github/workflows/continuous-deployment.yaml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -76,27 +76,25 @@ jobs:
7676
- name: Checkout
7777
uses: actions/checkout@v4
7878

79-
- name: Setup Python
80-
uses: actions/setup-python@v5
79+
- id: install-uv
80+
name: Install uv
81+
uses: astral-sh/setup-uv@v6
8182
with:
82-
python-version: '3.11'
83-
84-
- name: Install uv
85-
run: pip install uv
83+
version: "latest"
84+
enable-cache: true
85+
cache-dependency-glob: '**/pyproject.toml'
8686

87-
- name: Install Python dependencies
88-
run: uv pip install -e ".[dev]"
89-
90-
- name: Build release
91-
run: |
92-
uv pip install build
93-
python -m build
94-
ls -l dist
87+
- id: install-python
88+
name: Install Python
89+
run: uv python install 3.13
9590

96-
- name: Check release
97-
run: uv pip install twine && twine check dist/*
91+
- id: build
92+
name: Build releases
93+
run: uv build --sdist --wheel
94+
shell: bash
9895

99-
- name: Save artifact
96+
- id: save
97+
name: Save artifact
10098
uses: actions/upload-artifact@v4
10199
with:
102100
name: release-candidate

0 commit comments

Comments
 (0)