File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build Python Wheel
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ build-wheel :
10+ name : Build Python Wheel
11+ runs-on : ubuntu-latest
12+
13+ strategy :
14+ matrix :
15+ container :
16+ - quay.io/pypa/musllinux_1_2_x86_64
17+ - quay.io/pypa/manylinux_2_28_x86_64
18+ python : ["3.9", "3.10", "3.11", "3.12"]
19+
20+ container :
21+ image : ${{ matrix.container }}
22+
23+ steps :
24+ - name : Checkout code
25+ uses : actions/checkout@v4
26+
27+ - name : Build wheel
28+ run : |
29+ python${{ matrix.python }} -m pip wheel .
30+
31+ - name : Repair wheel with auditwheel
32+ run : |
33+ auditwheel repair *.whl --wheel-dir dist
34+
35+ - name : List built wheels
36+ run : ls -lh dist
37+
38+
39+ - name : Upload wheel to GitHub release
40+ uses : softprops/action-gh-release@v2
41+ with :
42+ files : dist/*.whl
43+ env :
44+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments