File tree Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Expand file tree Collapse file tree 2 files changed +62
-0
lines changed Original file line number Diff line number Diff line change 1+ name : release prod
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ test :
10+ name : Test (${{ matrix.version }})
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v5
14+ - run : |
15+ PYTHON_VERSION=${{ matrix.version }} make test
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ version :
20+ - " 3.8"
21+ - " 3.9"
22+ - " 3.10"
23+ - " 3.11"
24+ - " 3.12"
25+ - " 3.13"
26+
27+ gen-binary :
28+ name : Gen Binary - Linux - AMD64
29+ runs-on : ubuntu-latest
30+ needs : test
31+ timeout-minutes : 30
32+ steps :
33+ - uses : actions/checkout@v5
34+ with :
35+ fetch-depth : 0
36+
37+ - name : Set env
38+ run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
39+
40+ - run : |
41+ make build
42+
43+ - name : upload artifacts
44+ uses : actions/upload-artifact@v4
45+ with :
46+ name : wheel_dist
47+ path : |
48+ wheel_dist/*
49+
50+ release :
51+ name : Release
52+ runs-on : ubuntu-latest
53+ needs : gen-binary
54+ steps :
55+ - uses : actions/checkout@v5
56+ - name : Download build artifacts
57+ uses : actions/download-artifact@v4
58+ - run : |
59+ ./scripts/release.sh wheel_dist
60+ env:
61+ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change 2727 gen-binary :
2828 name : Gen Binary - Linux - AMD64
2929 runs-on : ubuntu-latest
30+ needs : test
3031 timeout-minutes : 30
3132 steps :
3233 - uses : actions/checkout@v5
You can’t perform that action at this time.
0 commit comments