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