@@ -30,12 +30,13 @@ jobs:
30
30
- name : Build SDist
31
31
run : pipx run build --sdist
32
32
33
- - uses : actions/upload-artifact@v3
33
+ - uses : actions/upload-artifact@v4
34
34
with :
35
+ name : sdist
35
36
path : dist/*.tar.gz
36
37
37
38
build_wheels :
38
- name : Build ${{ matrix.python-version }} wheels on ${{ matrix.platform }}
39
+ name : Build wheels for ${{ matrix.platform }}
39
40
runs-on : ${{ matrix.platform }}
40
41
strategy :
41
42
matrix :
@@ -51,19 +52,27 @@ jobs:
51
52
- name : Build wheels
52
53
53
54
54
- - uses : actions/upload-artifact@v3
55
+ - uses : actions/upload-artifact@v4
55
56
with :
57
+ name : wheels-${{ matrix.platform }}
56
58
path : ./wheelhouse/*.whl
57
59
58
60
check_dist :
59
61
name : Check dist
60
62
needs : [make_sdist,build_wheels]
61
63
runs-on : ubuntu-22.04
62
64
steps :
63
- - uses : actions/download-artifact@v3
65
+ - uses : actions/download-artifact@v4
64
66
with :
65
- name : artifact
67
+ name : sdist
66
68
path : dist
69
+
70
+ - uses : actions/download-artifact@v4
71
+ with :
72
+ pattern : wheels-*
73
+ path : dist
74
+ merge-multiple : true
75
+
67
76
- name : Check SDist
68
77
run : |
69
78
mkdir -p test-sdist
@@ -83,12 +92,18 @@ jobs:
83
92
runs-on : ubuntu-latest
84
93
if : github.event_name == 'release' && github.event.action == 'published'
85
94
steps :
86
- - uses : actions/download-artifact@v3
87
- with :
88
- name : artifact
89
- path : dist
95
+ - uses : actions/download-artifact@v4
96
+ with :
97
+ name : sdist
98
+ path : dist
90
99
91
-
92
- with :
93
- user : __token__
94
- password : ${{ secrets.pypi_password }}
100
+ - uses : actions/download-artifact@v4
101
+ with :
102
+ pattern : wheels-*
103
+ path : dist
104
+ merge-multiple : true
105
+
106
+
107
+ with :
108
+ user : __token__
109
+ password : ${{ secrets.pypi_password }}
0 commit comments