Skip to content

Commit a42b367

Browse files
committed
Add action to build the package
Signed-off-by: xadupre <[email protected]>
1 parent 23880a2 commit a42b367

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/wheels-any.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build Any Wheel
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- 'releases/**'
8+
9+
jobs:
10+
build_wheels:
11+
name: Build wheels on ${{ matrix.os }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: [ubuntu-latest]
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
20+
- uses: actions/setup-python@v4
21+
with:
22+
python-version: '3.12'
23+
24+
- name: build wheel
25+
run: python -m pip wheel . -v
26+
27+
- name: install twine
28+
run: python -m pip install twine
29+
30+
- name: check wheel
31+
run: python -m twine check ./skl2onnx*.whl
32+
33+
- uses: actions/upload-artifact@v4
34+
with:
35+
path: ./skl2onnx*.whl

0 commit comments

Comments
 (0)