From f8b24979bdd53089130886aee76623a92135be0a Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Sun, 20 Sep 2020 18:02:01 +0800 Subject: [PATCH] Update AutoBuild.yml --- .github/workflows/AutoBuild.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/AutoBuild.yml b/.github/workflows/AutoBuild.yml index 5cd4865..0aee3ce 100644 --- a/.github/workflows/AutoBuild.yml +++ b/.github/workflows/AutoBuild.yml @@ -33,7 +33,8 @@ env: CUSTOM_SCRIPT: ./Scripts/diy-script.sh TZ: Asia/Shanghai UPLOAD_RELEASE: true - UPLOAD_ARTIFACT: true + UPLOAD_FIRMWARE: true + UPLOAD_BIN_DIR: false jobs: build: @@ -97,10 +98,17 @@ jobs: - name: Upload Firmware to Artifacts uses: actions/upload-artifact@main - if: env.UPLOAD_ARTIFACT == 'true' && !cancelled() + if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() with: - name: OpenWrt + name: OpenWrt_Firmware path: openwrt/bin/Firmware + + - name: Upload Firmware Directory to Artifacts + uses: actions/upload-artifact@main + if: env.UPLOAD_BIN_DIR == 'true' && !cancelled() + with: + name: OpenWrt_Bin + path: openwrt/bin - name: Generate Tag id: tag