30
30
run : |
31
31
file build/*-linux-aarch64
32
32
- name : upload
33
- uses : actions/upload-artifact@v3
33
+ uses : actions/upload-artifact@v4
34
34
with :
35
- name : qjs
35
+ name : qjs-linux-aarch64
36
36
path : build/*-linux-aarch64
37
37
linux-riscv64 :
38
38
runs-on : ubuntu-20.04
58
58
run : |
59
59
file build/*-linux-riscv64
60
60
- name : upload
61
- uses : actions/upload-artifact@v3
61
+ uses : actions/upload-artifact@v4
62
62
with :
63
- name : qjs
63
+ name : qjs-linux-riscv64
64
64
path : build/*-linux-riscv64
65
65
linux-x86 :
66
66
runs-on : ubuntu-20.04
86
86
run : |
87
87
file build/*-linux-x86
88
88
- name : upload
89
- uses : actions/upload-artifact@v3
89
+ uses : actions/upload-artifact@v4
90
90
with :
91
- name : qjs
91
+ name : qjs-linux-x86
92
92
path : build/*-linux-x86
93
93
94
94
linux-x86_64 :
@@ -115,9 +115,9 @@ jobs:
115
115
run : |
116
116
file build/*-linux-x86_64
117
117
- name : upload
118
- uses : actions/upload-artifact@v3
118
+ uses : actions/upload-artifact@v4
119
119
with :
120
- name : qjs
120
+ name : qjs-linux-x86_64
121
121
path : build/*-linux-x86_64
122
122
123
123
macos :
@@ -136,9 +136,9 @@ jobs:
136
136
run : |
137
137
lipo -info build/qjs-darwin build/qjsc-darwin
138
138
- name : upload
139
- uses : actions/upload-artifact@v3
139
+ uses : actions/upload-artifact@v4
140
140
with :
141
- name : qjs
141
+ name : qjs-darwin
142
142
path : build/*-darwin
143
143
144
144
windows-x86 :
@@ -168,9 +168,9 @@ jobs:
168
168
run : |
169
169
ldd build/qjs-windows-x86.exe build/qjsc-windows-x86.exe
170
170
- name : upload
171
- uses : actions/upload-artifact@v3
171
+ uses : actions/upload-artifact@v4
172
172
with :
173
- name : qjs
173
+ name : qjs-windows-x86
174
174
path : build/*-windows-x86.exe
175
175
176
176
windows-x86_64 :
@@ -200,9 +200,9 @@ jobs:
200
200
run : |
201
201
ldd build/qjs-windows-x86_64.exe build/qjsc-windows-x86_64.exe
202
202
- name : upload
203
- uses : actions/upload-artifact@v3
203
+ uses : actions/upload-artifact@v4
204
204
with :
205
- name : qjs
205
+ name : qjs-windows-x86_64
206
206
path : build/*-windows-x86_64.exe
207
207
208
208
wasi :
@@ -219,22 +219,24 @@ jobs:
219
219
make -C build qjs_exe
220
220
mv build/qjs build/qjs-wasi.wasm
221
221
- name : upload
222
- uses : actions/upload-artifact@v3
222
+ uses : actions/upload-artifact@v4
223
223
with :
224
- name : qjs
224
+ name : qjs-wasi
225
225
path : build/qjs-wasi.wasm
226
226
227
227
upload-to-release :
228
228
needs : [linux-aarch64, linux-riscv64, linux-x86, linux-x86_64, macos, windows-x86, windows-x86_64, wasi]
229
229
runs-on : ubuntu-20.04
230
230
steps :
231
231
- name : get assets
232
- uses : actions/download-artifact@v3
232
+ uses : actions/download-artifact@v4
233
233
with :
234
+ pattern : qjs-*
234
235
path : build
236
+ merge-multiple : true
237
+ - run : ls -R build
235
238
- name : release
236
239
uses : softprops/action-gh-release@v1
237
240
with :
238
241
files : |
239
- build/qjs/qjs-*
240
- build/qjs/qjsc-*
242
+ build/*
0 commit comments