mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
CI: upload firmwares only (#2239)
* CI: only upload firmwares * CI: fix wrong commands
This commit is contained in:
parent
5eaee721bc
commit
997b077d24
14
.github/workflows/openwrt-ci.yml
vendored
14
.github/workflows/openwrt-ci.yml
vendored
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user