This commit is contained in:
@@ -10,10 +10,9 @@ jobs:
|
||||
runs-on: xw-runner
|
||||
steps:
|
||||
# 1. 检出代码
|
||||
# 使用官方 actions/checkout,比手写 git 命令更简洁
|
||||
# 注意:如果 Runner 无法访问外网 GitHub,需要在 Gitea 管理后台配置 Actions 镜像或使用本地 clone 逻辑
|
||||
# 使用 Gitea 官方镜像 URL,避免 Runner 无法访问 GitHub
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: https://gitea.com/actions/checkout@v3
|
||||
|
||||
# 2. 登录镜像仓库 (如果有配置)
|
||||
- name: Login to Docker Registry
|
||||
|
||||
Reference in New Issue
Block a user