Skip to content

Commit a0975fc

Browse files
committed
[#50] Ci: implement uv build / uv publish
1 parent a7ae6ce commit a0975fc

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/workflow.yml

+9-8
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ jobs:
2121
steps:
2222
- name: Checkout repository
2323
uses: actions/checkout@v4
24-
- name: Set up Python ${{ matrix.python-version }}
24+
- name: Set up Python
2525
uses: actions/setup-python@v5
2626
with:
27-
python-version: ${{ matrix.python-version }}
28-
- name: Install dependencies
29-
run: |
30-
python -m pip install --upgrade pip
31-
pip install build
27+
python-version-file: pyproject.toml
28+
- name: Set up uv
29+
uses: astral-sh/setup-uv@v4
30+
with:
31+
version: 0.5.6
32+
enable-cache: true
3233
- name: Build package
33-
run: python -m build
34+
run: uv build
3435
- name: Publish package
35-
uses: pypa/gh-action-pypi-publish@release/v1.8
36+
run: uv publish

0 commit comments

Comments
 (0)