From 1455568b60550d7771ccf8b547d42f251132ce52 Mon Sep 17 00:00:00 2001 From: suyuan <175338101@qq.com> Date: Fri, 18 Sep 2020 22:37:32 +0800 Subject: [PATCH] 1112 --- .github/workflows/stale.yml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 96f5d973..99f1ae80 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -20,4 +20,30 @@ jobs: exempt-pr-labels: 'work-in-progress,enhancement' run: | ./scripts/feeds update -a - ./scripts/feeds install -a + ./scripts/feeds install -a + - name: Costom configure file + run: | + rm -f ./.config* + touch ./.config + + sed -i 's/^[ \t]*//g' ./.config + make defconfig + - name: Make download + run: | + make download -j8 + find dl -size -1024c -exec ls -l {} \; + find dl -size -1024c -exec rm -f {} \; + - name: Compile firmware + run: | + 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 \ No newline at end of file