diff --git a/.github/workflows/openwrt-ci.yml b/.github/workflows/openwrt-ci.yml index 2345f4df6..75229053f 100644 --- a/.github/workflows/openwrt-ci.yml +++ b/.github/workflows/openwrt-ci.yml @@ -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 : Upload artifact + + - 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/