File tree Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Expand file tree Collapse file tree 1 file changed +17
-10
lines changed Original file line number Diff line number Diff line change 31
31
sccache : ' true'
32
32
manylinux : auto
33
33
- name : Upload wheels
34
- uses : actions/upload-artifact@v3
34
+ uses : actions/upload-artifact@v4
35
35
with :
36
- name : wheels
36
+ name : wheels-linux-${{ matrix.target }}
37
37
path : dist
38
38
39
39
macos-x86_64 :
56
56
args : --release --out dist --find-interpreter
57
57
sccache : ' true'
58
58
- name : Upload wheels
59
- uses : actions/upload-artifact@v3
59
+ uses : actions/upload-artifact@v4
60
60
with :
61
- name : wheels
61
+ name : wheels-macos-x86_64
62
62
path : dist
63
63
64
64
macos-arm64 :
81
81
args : --release --out dist --find-interpreter
82
82
sccache : ' true'
83
83
- name : Upload wheels
84
- uses : actions/upload-artifact@v3
84
+ uses : actions/upload-artifact@v4
85
85
with :
86
- name : wheels
86
+ name : wheels-macos-arm64
87
87
path : dist
88
88
89
89
sdist :
96
96
command : sdist
97
97
args : --out dist
98
98
- name : Upload sdist
99
- uses : actions/upload-artifact@v3
99
+ uses : actions/upload-artifact@v4
100
100
with :
101
- name : wheels
101
+ name : sdist
102
102
path : dist
103
103
104
104
release :
@@ -107,13 +107,20 @@ jobs:
107
107
if : " startsWith(github.ref, 'refs/tags/')"
108
108
needs : [linux, macos-arm64, macos-x86_64, sdist]
109
109
steps :
110
- - uses : actions/download-artifact@v3
110
+ - uses : actions/download-artifact@v4
111
111
with :
112
- name : wheels
112
+ pattern : wheels-*
113
+ path : dist
114
+ merge-multiple : true
115
+ - uses : actions/download-artifact@v4
116
+ with :
117
+ name : sdist
118
+ path : dist
113
119
- name : Publish to PyPI
114
120
uses : PyO3/maturin-action@v1
115
121
env :
116
122
MATURIN_PYPI_TOKEN : ${{ secrets.PYPI_API_TOKEN }}
117
123
with :
118
124
command : upload
119
125
args : --skip-existing *
126
+
You can’t perform that action at this time.
0 commit comments