ci: 统一 workflow 写法,使其在 Gitea 与 GitHub 上通用 #1

Merged
layue13 merged 1 commits from ci/standardize-workflow into main 2026-10-14 07:42:58 +00:00
Owner

改了什么

  • 工作流从 .gitea/workflows/ 移到 .github/workflows/,Gitea 与 GitHub 都会读取。
  • 动作引用由 https://git.potatolab.uk/actions/... 改为 actions/...、gradle/actions/...,由实例的 DEFAULT_ACTIONS_URL 解析,迁到 GitHub 无需再改。
  • 去掉 ~/.gradle/jdks 的 actions/cache 步骤与 GRADLE_USER_HOME 覆盖:runner 已共享 JDK、Gradle 发行包、依赖与 RFG 缓存。
  • 完整历史的 checkout 加 filter: blob:none。

其余步骤、触发条件、权限与发布逻辑不变。

🤖 Generated with Claude Code

## 改了什么 - 工作流从 `.gitea/workflows/` 移到 `.github/workflows/`,Gitea 与 GitHub 都会读取。 - 动作引用由 `https://git.potatolab.uk/actions/...` 改为 `actions/...`、`gradle/actions/...`,由实例的 `DEFAULT_ACTIONS_URL` 解析,迁到 GitHub 无需再改。 - 去掉 `~/.gradle/jdks` 的 `actions/cache` 步骤与 `GRADLE_USER_HOME` 覆盖:runner 已共享 JDK、Gradle 发行包、依赖与 RFG 缓存。 - 完整历史的 checkout 加 `filter: blob:none`。 其余步骤、触发条件、权限与发布逻辑不变。 🤖 Generated with [Claude Code](https://claude.com/claude-code)
layue13 added 1 commit 2026-10-14 06:59:52 +00:00
layue13 added 1 commit 2026-10-14 06:59:52 +00:00
layue13 merged commit b636e56276 into main 2026-10-14 07:42:58 +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#1