71
71
steps :
72
72
73
73
- name : Check out repository code
74
- uses : actions/checkout@v3
74
+ uses : actions/checkout@v4
75
75
with :
76
76
submodules : true
77
77
@@ -81,10 +81,11 @@ jobs:
81
81
-Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }}
82
82
83
83
- name : Publish artifact
84
- uses : actions/upload-artifact@v3
84
+ uses : actions/upload-artifact@v4
85
85
with :
86
86
name : ${{ env.ARTIFACT_NAME }}
87
87
path : ${{ runner.temp }}/artifact
88
+ if-no-files-found : error
88
89
89
90
test_python :
90
91
needs : [generate_matrix, build_python]
98
99
steps :
99
100
100
101
- name : Check out repository code
101
- uses : actions/checkout@v3
102
+ uses : actions/checkout@v4
102
103
with :
103
104
submodules : true
104
105
@@ -111,9 +112,10 @@ jobs:
111
112
run : if [ -d /Library/Frameworks/Python.framework ]; then sudo rm -rf /Library/Frameworks/Python.framework; fi
112
113
113
114
- name : Download artifact
114
- uses : actions/download-artifact@v3
115
+ uses : actions/download-artifact@v4
115
116
with :
116
- path : ${{ runner.temp }}
117
+ name : ${{ env.ARTIFACT_NAME }}
118
+ path : ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
117
119
118
120
- name : Extract files
119
121
run : |
@@ -138,7 +140,7 @@ jobs:
138
140
working-directory : ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
139
141
140
142
- name : Setup Python ${{ env.VERSION }}
141
- uses : actions/setup-python@v4
143
+ uses : actions/setup-python@v5
142
144
with :
143
145
python-version : ${{ env.VERSION }}
144
146
architecture : ${{ matrix.arch }}
@@ -176,7 +178,10 @@ jobs:
176
178
needs : test_python
177
179
runs-on : ubuntu-latest
178
180
steps :
179
- - uses : actions/download-artifact@v3
181
+ - uses : actions/download-artifact@v4
182
+ with :
183
+ pattern : python-*
184
+ merge-multiple : true
180
185
181
186
- name : Publish Release ${{ env.VERSION }}
182
187
id : create_release
@@ -202,7 +207,7 @@ jobs:
202
207
}
203
208
204
209
- name : Upload release assets
205
- uses : actions/github-script@v6
210
+ uses : actions/github-script@v7
206
211
with :
207
212
github-token : ${{ secrets.GITHUB_TOKEN }}
208
213
script : |
@@ -226,7 +231,7 @@ jobs:
226
231
runs-on : ubuntu-latest
227
232
steps :
228
233
- name : Trigger "Create Pull Request" workflow
229
- uses : actions/github-script@v6
234
+ uses : actions/github-script@v7
230
235
with :
231
236
github-token : ${{ secrets.GITHUB_TOKEN }}
232
237
script : |
0 commit comments