This commit is contained in:
parent
9dc2a54eb7
commit
76e1f4a45e
@ -10,9 +10,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
if: "contains(github.event.head_commit.message, 'Release')"
|
if: "contains(github.event.head_commit.message, 'Release')"
|
||||||
|
|
||||||
env: # ⭐ 新增环境变量,阻止自动拉取镜像
|
|
||||||
ACT_PULL: never
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 替换软件源为国内软件源
|
- name: 替换软件源为国内软件源
|
||||||
@ -55,8 +52,12 @@ jobs:
|
|||||||
# CLEAN_REPO_URL="${CLEAN_REPO_URL#https://}"
|
# CLEAN_REPO_URL="${CLEAN_REPO_URL#https://}"
|
||||||
# git clone "https://${GITEA_TOKEN}@${CLEAN_REPO_URL}" .
|
# git clone "https://${GITEA_TOKEN}@${CLEAN_REPO_URL}" .
|
||||||
|
|
||||||
- name: 检出仓库
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: https://gitee.com/actions-mirror/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
# 如果你文档需要 Git 子模块,取消注释下一行
|
||||||
|
submodules: true
|
||||||
|
|
||||||
- name: 设置 Git 身份
|
- name: 设置 Git 身份
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user