Explorar o código

ci: 添加工作流手动触发参数

- 在 update-jdk 工作流中添加 workflow_dispatch 事件,支持手动触发
- 新增输入参数 tags,用于指定测试场景标签
小吾立 hai 9 meses
pai
achega
1145309c5f
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      .github/workflows/update-jdk.yml

+ 6 - 0
.github/workflows/update-jdk.yml

@@ -9,6 +9,12 @@ on:
       - error-understand # 不需要每次推送执行,所以选择error-understand分支
   schedule:
     - cron: '5 * * * *' # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#scheduled-events-schedule
+  workflow_dispatch:
+    inputs:
+      tags:
+        description: 'Test scenario tags'
+        required: true
+        type: string
 
 # on:
 #   schedule: