Skip to content

Commit bf7bf88

Browse files
authored
ci: update workflows (#582)
1 parent 039022c commit bf7bf88

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/workflows/test.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/checkout@v4
2121

2222
- name: Set up Python
23-
uses: actions/setup-python@v4
23+
uses: actions/setup-python@v5
2424
with:
2525
python-version: ${{ matrix.py }}
2626
allow-prereleases: true
@@ -42,3 +42,15 @@ jobs:
4242
shell: bash
4343
run: |
4444
MSGPACK_PUREPYTHON=1 pytest -v test
45+
46+
- name: build packages
47+
shell: bash
48+
run: |
49+
pip install build
50+
python -m build
51+
52+
- name: upload packages
53+
uses: actions/upload-artifact@v4
54+
with:
55+
name: dist-${{ matrix.os }}-${{ matrix.py }}
56+
path: dist

.github/workflows/wheel.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
make cython
3737
3838
- name: Build
39-
uses: pypa/cibuildwheel@v2.15.0
39+
uses: pypa/cibuildwheel@v2.16.5
4040
env:
4141
CIBW_TEST_REQUIRES: "pytest"
4242
CIBW_TEST_COMMAND: "pytest {package}/test"
@@ -52,7 +52,7 @@ jobs:
5252
python -m build -w -o wheelhouse
5353
5454
- name: Upload Wheels to artifact
55-
uses: actions/upload-artifact@v1
55+
uses: actions/upload-artifact@v4
5656
with:
57-
name: Wheels
57+
name: wheels-${{ matrix.os }}
5858
path: wheelhouse

0 commit comments

Comments
 (0)