6464 python -m pip install build
6565 python -m build --sdist
6666
67- - uses : actions/upload-artifact@v4
67+ - uses : actions/upload-artifact@v5
6868 with :
6969 name : sdist
7070 path : ./dist/*
9898 - [ubuntu-24.04, musllinux_x86_64]
9999 - [ubuntu-24.04-arm, manylinux_aarch64]
100100 - [ubuntu-24.04-arm, musllinux_aarch64]
101- - [macos-13, macosx_x86_64]
102- # Note: M1 images on Github Actions start from macOS 14
103- - [macos-14, macosx_arm64]
104- - [windows-2022, win_amd64]
101+ - [macos-15-intel, macosx_x86_64]
102+ - [macos-15, macosx_arm64]
103+ - [windows-2025, win_amd64]
105104 - [windows-11-arm, win_arm64]
106105 python : [["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"], ["cp314", "3.14"], ["cp314t", "3.14"]]
107106 include :
@@ -139,7 +138,7 @@ jobs:
139138 # removes unnecessary files from the release
140139 - name : Download sdist (not macOS)
141140 # if: ${{ matrix.buildplat[1] != 'macosx_*' }}
142- uses : actions/download-artifact@v5
141+ uses : actions/download-artifact@v6
143142 with :
144143 name : sdist
145144 path : ./dist
@@ -162,7 +161,7 @@ jobs:
162161 run : echo "sdist_name=$(cd ./dist && ls -d */)" >> "$GITHUB_ENV"
163162
164163 - name : Build wheels
165- uses : pypa/cibuildwheel@v3.2.0
164+ uses : pypa/cibuildwheel@v3.2.1
166165 with :
167166 package-dir : ./dist/${{ startsWith(matrix.buildplat[1], 'macosx') && env.sdist_name || needs.build_sdist.outputs.sdist_file }}
168167 env :
@@ -197,7 +196,7 @@ jobs:
197196 shell : bash -el {0}
198197 run : for whl in $(ls wheelhouse); do wheel unpack wheelhouse/$whl -d /tmp; done
199198
200- - uses : actions/upload-artifact@v4
199+ - uses : actions/upload-artifact@v5
201200 with :
202201 name : ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}
203202 path : ./wheelhouse/*.whl
@@ -229,7 +228,7 @@ jobs:
229228 - build_sdist
230229 - build_wheels
231230
232- runs-on : ubuntu-latest
231+ runs-on : ubuntu-24.04
233232
234233 environment :
235234 name : pypi
@@ -239,10 +238,12 @@ jobs:
239238
240239 steps :
241240 - name : Download all artefacts
242- uses : actions/download-artifact@v5
241+ uses : actions/download-artifact@v6
243242 with :
244243 path : dist # everything lands in ./dist/**
245244
245+ # TODO: This step can be probably be achieved by actions/download-artifact@v6
246+ # by specifying merge-multiple: true, and a glob pattern
246247 - name : Collect files
247248 run : |
248249 mkdir -p upload
0 commit comments