Skip to content

Commit

Permalink
ci: 添加工作流手动触发参数
Browse files Browse the repository at this point in the history
- 在 update-jdk 工作流中添加 workflow_dispatch 事件,支持手动触发
- 新增输入参数 tags,用于指定测试场景标签
  • Loading branch information
fyjc-wlj committed Dec 19, 2024
1 parent c560cb1 commit 1145309
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/update-jdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1145309

Please sign in to comment.