0,12:00 定时同步最新 API

This commit is contained in:
Hyy2001X 2021-10-22 15:12:32 +08:00
parent c43dfb3b5c
commit f2d1cb5176
1 changed files with 10 additions and 1 deletions

View File

@ -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
overwrite: true
- name: Delete old Workflow Runs
uses: GitRML/delete-workflow-runs@main
with:
retain_days: 1
keep_minimum_runs: 1