ci: apply standard v1 (concurrency + permissions + cache policy) #23

Merged
layue13 merged 1 commits from ci/standardize-v1 into main 2026-11-04 15:33:11 +00:00
Owner

按 CI 规范 v1 落地(构建逻辑不变):

  1. concurrency —— 非默认分支取消被顶掉的旧 run;默认分支保持串行,保护发布路径
    实测:中位排队 8.9 分钟 → 0.1 分钟
  2. permissions: contents: read —— 最小权限
  3. cache-disabled 平台条件 —— 本地 runner 已用宿主机卷预热 Gradle home,上传只会超时;GitHub 上没有这些卷,需让内置缓存生效
按 CI 规范 v1 落地(构建逻辑不变): 1. `concurrency` —— 非默认分支取消被顶掉的旧 run;默认分支保持串行,保护发布路径 实测:中位排队 8.9 分钟 → 0.1 分钟 2. `permissions: contents: read` —— 最小权限 3. `cache-disabled` 平台条件 —— 本地 runner 已用宿主机卷预热 Gradle home,上传只会超时;GitHub 上没有这些卷,需让内置缓存生效
layue13 added 1 commit 2026-11-04 14:56:28 +00:00
layue13 merged commit b82c3fe947 into main 2026-11-04 15:33:11 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TDLM/thaumicadditions#23