@@ -248,6 +248,49 @@ jobs:
248248 path : ' *.tgz'
249249 if-no-files-found : ' error'
250250
251+ python-base :
252+ name : python (base)
253+ runs-on : ubuntu-24.04
254+ steps :
255+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
256+ - name : Add Rustup Target
257+ run : rustup target add x86_64-unknown-linux-musl
258+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # 5.6.0
259+ with :
260+ python-version : ' 3.11'
261+ - run : python3 -m pip install build && python3 -m build
262+ - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
263+ with :
264+ name : python-base
265+ path : dist/*
266+ if-no-files-found : ' error'
267+
268+ python :
269+ name : python
270+ runs-on : ubuntu-24.04
271+ needs : [linux, sign-macos-binaries, windows, python-base]
272+ steps :
273+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
274+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # 5.6.0
275+ with :
276+ python-version : ' 3.11'
277+ - uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # 5.0.0
278+ with :
279+ pattern : artifact-bin-*
280+ merge-multiple : true
281+ path : binaries
282+ - uses : actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # 5.0.0
283+ with :
284+ name : python-base
285+ merge-multiple : true
286+ path : python-base
287+ - run : scripts/wheels --binaries binaries --base python-base --dest dist
288+ - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
289+ with :
290+ name : artifact-pkg-python
291+ path : dist/*
292+ if-no-files-found : ' error'
293+
251294 npm-distributions :
252295 name : ' Build NPM distributions'
253296 runs-on : ubuntu-24.04
@@ -311,7 +354,7 @@ jobs:
311354 uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # 3.11.1
312355
313356 - name : Login to GitHub Container Registry
314- uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # 3.5 .0
357+ uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # 3.6 .0
315358 with :
316359 registry : ghcr.io
317360 username : ${{ github.actor }}
@@ -335,7 +378,7 @@ jobs:
335378 packages : write
336379 steps :
337380 - name : Login to GitHub Container Registry
338- uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # 3.5 .0
381+ uses : docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # 3.6 .0
339382 with :
340383 registry : ghcr.io
341384 username : ${{ github.actor }}
@@ -350,7 +393,7 @@ jobs:
350393 merge :
351394 name : Create Release Artifact
352395 runs-on : ubuntu-24.04
353- needs : [linux, sign-macos-binaries, windows, npm-distributions, node]
396+ needs : [linux, sign-macos-binaries, windows, npm-distributions, node, python ]
354397 steps :
355398 - uses : actions/upload-artifact/merge@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
356399 with :
0 commit comments