From dc2062a8b25f7c3bad45bdb86b45adb1c8c81932 Mon Sep 17 00:00:00 2001 From: yudoubuyaohuise <87762936+yudoubuyaohuise@users.noreply.github.com> Date: Sun, 19 Jan 2025 21:38:17 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 183f73f..3452aab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,12 +3,12 @@ name: "打卡" # 明确触发条件 on: workflow_dispatch: # 手动触发 - schedule: - # 使用 UTC 时间,UTC 时间 对应 北京时间 -8 小时 - - cron: "0 0 * * *" # UTC 00:00 / 北京时间 08:00 - - cron: "0 1 * * *" # UTC 01:00 / 北京时间 09:00 - - cron: "0 9 * * *" # UTC 09:00 / 北京时间 17:00 - - cron: "0 10 * * *" # UTC 10:00 / 北京时间 18:00 + # schedule: + # # 使用 UTC 时间,UTC 时间 对应 北京时间 -8 小时 + # - cron: "0 0 * * *" # UTC 00:00 / 北京时间 08:00 + # - cron: "0 1 * * *" # UTC 01:00 / 北京时间 09:00 + # - cron: "0 9 * * *" # UTC 09:00 / 北京时间 17:00 + # - cron: "0 10 * * *" # UTC 10:00 / 北京时间 18:00 # 配置并发控制,避免任务重叠执行 concurrency: