@@ -19,7 +19,7 @@ permissions:
1919jobs :
2020 linux :
2121 name : Build for Linux
22- runs-on : ubuntu-20 .04
22+ runs-on : ubuntu-22 .04
2323 strategy :
2424 matrix :
2525 python-version : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
3333 - name : Install dependencies
3434 run : |
3535 python -m pip install --upgrade pip
36- pip install build git+https://github.com/binyamin555/ cibuildwheel
36+ pip install build cibuildwheel
3737 - name : Build package
3838 # if: github.event.inputs.build == 'true'
3939 # run: python -m build --wheel --sdist --outdir dist/
4343 - name : Upload Artifact
4444 uses : actions/upload-artifact@v6
4545 with :
46- name : build-linux
46+ name : build-linux-${{ matrix.python-version }}
4747 path : dist/*.whl
4848
4949 windows :
@@ -73,13 +73,13 @@ jobs:
7373 - name : Upload Artifact
7474 uses : actions/upload-artifact@v6
7575 with :
76- name : build-win
76+ name : build-win-${{ matrix.python-version }}
7777 path : dist/*.whl
7878
7979 macos :
8080 name : Build for Mac
8181
82- runs-on : macos-11
82+ runs-on : macos-15-intel
8383 strategy :
8484 matrix :
8585 python-version : ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
@@ -99,29 +99,20 @@ jobs:
9999 - name : Upload Artifact
100100 uses : actions/upload-artifact@v6
101101 with :
102- name : build-mac
102+ name : build-mac-${{ matrix.python-version }}
103103 path : dist/*.whl
104104
105105 upload :
106106 name : Upload Wheels
107107 needs : ["linux", "windows", "macos"]
108108 runs-on : ubuntu-latest
109109 steps :
110- - name : Download Artifacts for Linux
111- uses : actions/download-artifact@v3
110+ - name : Download Artifacts
111+ uses : actions/download-artifact@v5
112112 with :
113- name : build-linux
114- path : dist/
115- - name : Download Artifacts for Windows
116- uses : actions/download-artifact@v3
117- with :
118- name : build-win
119- path : dist/
120- - name : Download Artifacts for Mac
121- uses : actions/download-artifact@v3
122- with :
123- name : build-mac
113+ pattern : build-*
124114 path : dist/
115+ merge-multiple : true
125116 - name : Dist Directory Tree
126117 run : ls dist/ -R
127118 - name : Publish package
0 commit comments