File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches :
7+ - feature/build
8+ tags :
9+ - v*
10+
11+ jobs :
12+ build_wheels :
13+ name : Build
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v5
17+ - name : Install the latest version of uv
18+ uses : astral-sh/setup-uv@v6
19+ with :
20+ version : " latest"
21+ - name : Build
22+ run : uv build
23+ - uses : actions/upload-artifact@v4
24+ with :
25+ path : ./dist/*
26+
27+ upload_pypi :
28+ name : Upload to PyPI
29+ needs : [build_wheels]
30+ runs-on : ubuntu-latest
31+ environment : pypi
32+ permissions :
33+ id-token : write
34+ if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
35+ steps :
36+ - uses : actions/download-artifact@v4
37+ with :
38+ name : artifact
39+ path : dist
40+
41+ - uses : pypa/gh-action-pypi-publish@release/v1
42+ with :
43+ skip-existing : true
You can’t perform that action at this time.
0 commit comments