CI: upload firmwares only (#2239)

* CI: only upload firmwares

* CI: fix wrong commands
This commit is contained in:
ZhenYu 2019-12-04 03:53:51 -06:00 committed by coolsnowwolf
parent 5eaee721bc
commit 997b077d24

View File

@ -195,7 +195,7 @@ jobs:
sed -i 's/^[ \t]*//g' ./.config
make defconfig
- name: Download package source code
- name: Make download
run: |
make download -j8
find dl -size -1024c -exec ls -l {} \;
@ -206,8 +206,16 @@ jobs:
echo -e "$(nproc) thread build."
make -j$(nproc) V=s
- name: Assemble artifact
run: |
rm -rf ./artifact/
mkdir -p ./artifact/
find ./bin/targets/ -name "*combined*img*" | xargs -i mv -f {} ./artifact/
find ./bin/targets/ -name "*sysupgrade*bin*" | xargs -i mv -f {} ./artifact/
- name: Upload artifact
uses: actions/upload-artifact@master
with:
name: OpenWrt firmware
path: bin/targets
path: ./artifact/