This commit is contained in:
NianBroken
2024-07-17 19:14:02 +08:00 Unverified
parent 7f0a73a452
commit 30836272e0
2 changed files with 6 additions and 18 deletions
+6 -1
View File
@@ -9,7 +9,12 @@ on:
schedule:
- cron: "0 */12 * * *" # 每 12 小时执行一次
workflow_dispatch: # 可以手动执行
inputs:
hour_count:
description: "You want to delete records from how many hours ago?"
required: true
default: "168"
type: string
jobs:
# 检查成绩
DeleteOldRuns:
-17
View File
@@ -1,17 +0,0 @@
name: Example Workflow
on:
workflow_dispatch:
inputs:
integer_input:
description: 'Enter an integer value'
required: true
default: 10
type: integer
jobs:
example-job:
runs-on: ubuntu-latest
steps:
- name: Print integer input
run: echo "Integer input is ${{ github.event.inputs.integer_input }}"