add
This commit is contained in:
@@ -9,7 +9,12 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: "0 */12 * * *" # 每 12 小时执行一次
|
- cron: "0 */12 * * *" # 每 12 小时执行一次
|
||||||
workflow_dispatch: # 可以手动执行
|
workflow_dispatch: # 可以手动执行
|
||||||
|
inputs:
|
||||||
|
hour_count:
|
||||||
|
description: "You want to delete records from how many hours ago?"
|
||||||
|
required: true
|
||||||
|
default: "168"
|
||||||
|
type: string
|
||||||
jobs:
|
jobs:
|
||||||
# 检查成绩
|
# 检查成绩
|
||||||
DeleteOldRuns:
|
DeleteOldRuns:
|
||||||
|
|||||||
@@ -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 }}"
|
|
||||||
Reference in New Issue
Block a user