File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and publish wheels
2+ on :
3+ workflow_dispatch :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ build-and-publish-wheels :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v4
16+ with :
17+ fetch-depth : 0
18+
19+ - name : Install the latest version of uv
20+ uses : astral-sh/setup-uv@v1
21+ with :
22+ version : " latest"
23+ enable-cache : true
24+ cache-dependency-glob : " uv.lock"
25+
26+ - name : Install Python 3.12
27+ run : uv python install 3.12
28+
29+ - name : Build wheels
30+ run : make build
31+
32+ - name : Create release
33+ run : gh release create v$(uvx hatch version) dist/* --generate-notes --prerelease
34+ env :
35+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments