Skip to content

Commit

Permalink
add if: always()
Browse files Browse the repository at this point in the history
  • Loading branch information
tjuyy authored Dec 9, 2019
1 parent 3a69d93 commit 2235450
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/openwrt-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,31 +89,37 @@ jobs:
if: failure()
run: |
[ -e friendlywrt-h5/friendlywrt/.config ] || cp NanoPi-R1S-H5.config friendlywrt-h5/friendlywrt/.config
cat friendlywrt-h5/friendlywrt/.config
- name: Download package
if: always()
run: |
cd friendlywrt-h5/friendlywrt
make download -j8
find dl -size -1024c -exec ls -l {} \;
find dl -size -1024c -exec rm -f {} \;
- name: Build
if: always()
run: |
cd friendlywrt-h5
echo "Start building..."
./build.sh nanopi_r1s.mk
- name: Zip Files
if: always()
run: |
find friendlywrt-h5/out/ -name "FriendlyWrt_*img*" | xargs -i zip -r {}.zip {}
- name: Assemble Artifact
if: always()
run: |
rm -rf ./artifact/
mkdir -p ./artifact/
find friendlywrt-h5/out/ -name "FriendlyWrt_*img.zip*" | xargs -i mv -f {} ./artifact/
- name: Upload Artifact
if: always()
uses: actions/upload-artifact@master
with:
name: FriendlyWrt_NanoPi-R1S
Expand Down

0 comments on commit 2235450

Please sign in to comment.