1- name : Release
1+ name : Build & Release
22
33on :
44 push :
@@ -16,7 +16,7 @@ permissions:
1616
1717jobs :
1818 build :
19- name : Build ${{ matrix.os }}
19+ name : Build 3.${{ matrix.python }} ${{ matrix.os }}
2020 runs-on : ${{ matrix.os }}
2121 strategy :
2222 fail-fast : false
2626 ubuntu-24.04-arm,
2727 macos-latest,
2828 ]
29+ python : [
30+ 12,
31+ 13,
32+ ]
2933
3034 steps :
31- - name : Dump GitHub context
35+ - name : Github context
3236 env :
3337 GITHUB_CONTEXT : ${{ toJson(github) }}
3438 run : echo "$GITHUB_CONTEXT"
@@ -38,12 +42,12 @@ jobs:
3842 fetch-depth : 0
3943 ref : ${{ github.event.pull_request.head.ref || github.ref }}
4044
41- - name : Setup backend
42- uses : ./.github/actions/setup-backend
45+ - name : Setup environment
46+ uses : ./.github/actions/setup-environment
4347 with :
44- python-version : " 3.12 "
48+ python-version : 3.${{ matrix.python }}
4549
46- - name : Get history and tags for SCM versioning to work
50+ - name : Fetch tags
4751 run : |
4852 git branch
4953 git fetch --depth=1 origin +refs/tags/*:refs/tags/*
@@ -53,13 +57,13 @@ jobs:
53575458 env :
5559 HATCH_BUILD_HOOKS_ENABLE : true
56- CIBW_SKIP : ' {cp313-macosx_*,*i686*,*musllinux*} '
57-
60+ CIBW_BUILD : " *cp3${{ matrix.python }}* "
61+ CIBW_SKIP : ' {*i686*,*musllinux*} '
5862
5963 - uses : actions/upload-artifact@v4
6064 with :
61- name : wheels-${{ matrix.os }}
62- path : dist/
65+ name : wheels-${{ matrix.os }}-3.${{ matrix.python }}
66+ path : ./wheelhouse/*.whl
6367
6468 release :
6569 if : startsWith(github.ref, 'refs/tags/')
7074 - uses : actions/checkout@v4
7175
7276 - name : Setup backend
73- uses : ./.github/actions/setup-backend
77+ uses : ./.github/actions/setup-environment
7478
7579 - name : Download All Artifacts
7680 uses : actions/download-artifact@v4
0 commit comments