diff --git a/.github/workflows/AutoBuild.yml b/.github/workflows/AutoBuild.yml index 35abd1a..5cd4865 100644 --- a/.github/workflows/AutoBuild.yml +++ b/.github/workflows/AutoBuild.yml @@ -33,6 +33,7 @@ env: CUSTOM_SCRIPT: ./Scripts/diy-script.sh TZ: Asia/Shanghai UPLOAD_RELEASE: true + UPLOAD_ARTIFACT: true jobs: build: @@ -96,6 +97,7 @@ jobs: - name: Upload Firmware to Artifacts uses: actions/upload-artifact@main + if: env.UPLOAD_ARTIFACT == 'true' && !cancelled() with: name: OpenWrt path: openwrt/bin/Firmware