File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ jobs:
195
195
sed -i 's/^[ \t]*//g' ./.config
196
196
make defconfig
197
197
198
- - name : Download package source code
198
+ - name : Make download
199
199
run : |
200
200
make download -j8
201
201
find dl -size -1024c -exec ls -l {} \;
@@ -206,8 +206,16 @@ jobs:
206
206
echo -e "$(nproc) thread build."
207
207
make -j$(nproc) V=s
208
208
209
- - name : Upload artifact
209
+
210
+ - name : Assemble artifact
211
+ run : |
212
+ rm -rf ./artifact/
213
+ mkdir -p ./artifact/
214
+ find ./bin/targets/ -name "*combined*img*" | xargs -i mv -f {} ./artifact/
215
+ find ./bin/targets/ -name "*sysupgrade*bin*" | xargs -i mv -f {} ./artifact/
216
+
217
+ - name : Upload artifact
210
218
uses : actions/upload-artifact@master
211
219
with :
212
220
name : OpenWrt firmware
213
- path : bin/targets
221
+ path : ./artifact/
You can’t perform that action at this time.
0 commit comments