Skip to content

Commit 10b9afd

Browse files
authored
have a manual package builder (#21)
1 parent 740b26f commit 10b9afd

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish Python Package
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Install uv
12+
uses: astral-sh/setup-uv@v5
13+
- name: "Set up Python"
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version-file: ".python-version"
17+
- name: Install the project
18+
run: uv sync --all-extras --dev
19+
- name: Build the package
20+
run: uv build
21+
- name: Upload artifact
22+
uses: actions/upload-artifact@v4
23+
with:
24+
name: dist
25+
path: dist/
26+
retention-days: 5

0 commit comments

Comments
 (0)