Update NEWIFI_D2-NIGHTLY.yml

This commit is contained in:
Hyy2001X 2021-01-04 19:38:21 +08:00 committed by GitHub
parent 364759e7e4
commit d7e4463acf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 10 deletions

View File

@ -28,9 +28,8 @@ env:
DIY_SCRIPT: Scripts/diy-script.sh
UPLOAD_RELEASE: true
UPLOAD_FIRMWARE: true
UPLOAD_BIN_DIR: true
UPLOAD_BIN_DIR: false
REMOVE_OLD_RELEASE: false
DELETE_WORKFLOW_RUNS: true
jobs:
build:
@ -118,13 +117,6 @@ jobs:
body_path: update_log.txt
files: openwrt/bin/Firmware/*
- name: Delete workflow runs
if: env.DELETE_WORKFLOW_RUNS == 'true' && !cancelled()
uses: ActionsRML/delete-workflow-runs@main
with:
retain_days: 1
keep_minimum_runs: 3
- name: Remove old Releases
uses: dev-drprasad/delete-older-releases@v0.1.0
if: env.REMOVE_OLD_RELEASE == 'true' && !cancelled()
@ -132,4 +124,4 @@ jobs:
keep_latest: 3
delete_tags: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}