1313 target : [x86_64, x86, aarch64, armv7, s390x, ppc64le]
1414 if : " startsWith(github.ref, 'refs/tags/')"
1515 steps :
16- - uses : actions/checkout@v3
17- - uses : actions/setup-python@v4
16+ - uses : actions/checkout@v4
17+ - uses : actions/setup-python@v5
1818 with :
1919 python-version : ' 3.10'
2020 - name : Build wheels
2525 sccache : ' true'
2626 manylinux : auto
2727 - name : Upload wheels
28- uses : actions/upload-artifact@v3
28+ uses : actions/upload-artifact@v4
2929 with :
3030 name : wheels
3131 path : dist
3737 target : [x64, x86]
3838 if : " startsWith(github.ref, 'refs/tags/')"
3939 steps :
40- - uses : actions/checkout@v3
41- - uses : actions/setup-python@v4
40+ - uses : actions/checkout@v4
41+ - uses : actions/setup-python@v5
4242 with :
4343 python-version : ' 3.10'
4444 architecture : ${{ matrix.target }}
4949 args : --release --out dist --find-interpreter
5050 sccache : ' true'
5151 - name : Upload wheels
52- uses : actions/upload-artifact@v3
52+ uses : actions/upload-artifact@v4
5353 with :
5454 name : wheels
5555 path : dist
6161 target : [x86_64, aarch64]
6262 if : " startsWith(github.ref, 'refs/tags/')"
6363 steps :
64- - uses : actions/checkout@v3
65- - uses : actions/setup-python@v4
64+ - uses : actions/checkout@v4
65+ - uses : actions/setup-python@v5
6666 with :
6767 python-version : ' 3.10'
6868 - name : Build wheels
7272 args : --release --out dist --find-interpreter
7373 sccache : ' true'
7474 - name : Upload wheels
75- uses : actions/upload-artifact@v3
75+ uses : actions/upload-artifact@v4
7676 with :
7777 name : wheels
7878 path : dist
@@ -81,14 +81,14 @@ jobs:
8181 runs-on : ubuntu-latest
8282 if : " startsWith(github.ref, 'refs/tags/')"
8383 steps :
84- - uses : actions/checkout@v3
84+ - uses : actions/checkout@v4
8585 - name : Build sdist
8686 uses : PyO3/maturin-action@v1
8787 with :
8888 command : sdist
8989 args : --out dist
9090 - name : Upload sdist
91- uses : actions/upload-artifact@v3
91+ uses : actions/upload-artifact@v4
9292 with :
9393 name : wheels
9494 path : dist
9999 if : " startsWith(github.ref, 'refs/tags/')"
100100 needs : [linux, windows, macos, sdist]
101101 steps :
102- - uses : actions/download-artifact@v3
102+ - uses : actions/download-artifact@v4
103103 with :
104104 name : wheels
105105 - name : Publish to PyPI
0 commit comments