From f2d1cb5176dc195ffe007fb0e1e8d37b065cd5bf Mon Sep 17 00:00:00 2001 From: Hyy2001X <1804430051@qq.com> Date: Fri, 22 Oct 2021 15:12:32 +0800 Subject: [PATCH] =?UTF-8?q?0,12:00=20=E5=AE=9A=E6=97=B6=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E6=9C=80=E6=96=B0=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Module_Refresh_API.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Module_Refresh_API.yml b/.github/workflows/Module_Refresh_API.yml index 751d74a..90af64d 100644 --- a/.github/workflows/Module_Refresh_API.yml +++ b/.github/workflows/Module_Refresh_API.yml @@ -14,6 +14,9 @@ on: description: '刷新 Release/API' default: 'true' + schedule: + - cron: 0 4,16 * * * + jobs: build: runs-on: ubuntu-latest @@ -33,4 +36,10 @@ jobs: file: ./API file_glob: true tag: AutoUpdate - overwrite: true \ No newline at end of file + overwrite: true + + - name: Delete old Workflow Runs + uses: GitRML/delete-workflow-runs@main + with: + retain_days: 1 + keep_minimum_runs: 1 \ No newline at end of file