Skip to content

Commit 41f1446

Browse files
committed
Update CI.
1 parent 440e849 commit 41f1446

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

.github/workflows/build.yml

+17-7
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
88
fail-fast: false
99
matrix:
1010
os: [ubuntu-20.04, macos-11, windows-2019]
11-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
11+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
1212
runs-on: ${{ matrix.os }}
1313
steps:
14-
- uses: actions/checkout@v3
15-
- uses: actions/setup-python@v4
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-python@v5
1616
with:
1717
python-version: ${{ matrix.python-version }}
1818
- name: Build & install
@@ -68,13 +68,23 @@ jobs:
6868
fi
6969
) &&
7070
PYTHONFAULTHANDLER=1 PYTHONIOENCODING=utf-8 ./run-examples.py
71-
- uses: actions/upload-artifact@v3
71+
- uses: actions/upload-artifact@v4
7272
with:
73-
name: wheels
74-
path: dist/
73+
name: wheel-${{ matrix.os }}-${{ matrix.python-version }}
74+
path: dist/*.whl
7575
if: ${{ always() }}
76-
- uses: actions/upload-artifact@v3
76+
- uses: actions/upload-artifact@v4
7777
with:
7878
name: result_images-${{ matrix.os }}-py${{ matrix.python-version }}
7979
path: result_images/
8080
if: ${{ failure() }}
81+
82+
merge-wheels:
83+
runs-on: ubuntu-latest
84+
needs: build
85+
steps:
86+
- uses: actions/upload-artifact/merge@v4
87+
with:
88+
name: wheels
89+
pattern: wheel-*
90+
delete-merged: true

0 commit comments

Comments
 (0)