Skip to content

Commit

Permalink
openwrt-ci: match all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
KFERMercer committed Dec 11, 2019
1 parent 12e7f52 commit ab8205c
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions openwrt-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,22 +187,16 @@ jobs:
- name: Make download
run: |
make download -j8
find dl -size -1024c -exec ls -l {} \;
find dl -size -1024c -exec rm -f {} \;
find ./dl/ -size -1024c -exec rm -f {} \;
- name: Compile firmware
run: DEBIAN_FRONTEND=noninteractive 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 "*efi*img*" | xargs -i mv -f {} ./artifact/
find ./bin/targets/ -name "*sysupgrade*bin*" | xargs -i mv -f {} ./artifact/
- name: Prepare artifact
run: find ./bin/targets/ -type d -name "packages" | xargs rm -rf {}

- name: Upload artifact
uses: actions/upload-artifact@master
with:
name: OpenWrt firmware
path: ./artifact/
path: ./bin/targets/

0 comments on commit ab8205c

Please sign in to comment.