2424 with :
2525 submodules : true
2626 - name : Set up Python ${{ matrix.python-version }}
27- uses : actions/setup-python@v4
27+ uses : actions/setup-python@v5
2828 with :
2929 python-version : ${{ matrix.python-version }}
3030 - name : Build wheels
3434 command : build
3535 args : --release --out dist
3636 - name : Upload wheels
37- uses : actions/upload-artifact@v3
37+ uses : actions/upload-artifact@v4
3838 with :
39- name : wheels
39+ name : linux-${{ matrix.python-version }}- wheels
4040 path : dist
4141
4242 windows :
4949 with :
5050 submodules : true
5151 - name : Set up Python ${{ matrix.python-version }}
52- uses : actions/setup-python@v4
52+ uses : actions/setup-python@v5
5353 with :
5454 python-version : ${{ matrix.python-version }}
5555 - uses : dtolnay/rust-toolchain@nightly
5959 command : build
6060 args : --release --out dist
6161 - name : Upload wheels
62- uses : actions/upload-artifact@v3
62+ uses : actions/upload-artifact@v4
6363 with :
64- name : wheels
64+ name : win-${{ matrix.python-version }}- wheels
6565 path : dist
6666
6767 macos :
7474 with :
7575 submodules : true
7676 - name : Set up Python ${{ matrix.python-version }}
77- uses : actions/setup-python@v4
77+ uses : actions/setup-python@v5
7878 with :
7979 python-version : ${{ matrix.python-version }}
8080 - uses : dtolnay/rust-toolchain@nightly
8989 command : build
9090 args : --release --out dist
9191 - name : Upload wheels
92- uses : actions/upload-artifact@v3
92+ uses : actions/upload-artifact@v4
9393 with :
94- name : wheels
94+ name : mac-${{ matrix.python-version }}- wheels
9595 path : dist
9696
9797 linux-cross :
@@ -111,20 +111,30 @@ jobs:
111111 manylinux : auto
112112 args : --release --out dist --interpreter 3.9 3.10 3.11 3.12 3.13
113113 - name : Upload wheels
114- uses : actions/upload-artifact@v3
114+ uses : actions/upload-artifact@v4
115115 with :
116- name : wheels
116+ name : linux-c-${{ matrix.target }}- wheels
117117 path : dist
118118
119- releases :
119+ merge :
120120 runs-on : ubuntu-latest
121121 needs : [linux, windows , macos , linux-cross]
122+ steps :
123+ - name : Merge Artifacts
124+ uses : actions/upload-artifact/merge@v4
125+ with :
126+ name : wheels
127+ delete-merged : true
128+
129+ releases :
130+ runs-on : ubuntu-latest
131+ needs : [merge]
122132 if : startsWith(github.ref, 'refs/tags/')
123133 steps :
124134 - uses : actions/checkout@v4
125135
126136 - name : Set up Python
127- uses : actions/setup-python@v3
137+ uses : actions/setup-python@v5
128138 with :
129139 python-version : 3.11
130140
@@ -133,7 +143,7 @@ jobs:
133143 pip install twine
134144
135145 - name : get dist artifacts
136- uses : actions/download-artifact@v3
146+ uses : actions/download-artifact@v4
137147 with :
138148 name : wheels
139149 path : dist
0 commit comments