This commit is contained in:
parent
76e1f4a45e
commit
bea98a8f98
@ -12,6 +12,14 @@ jobs:
|
||||
if: "contains(github.event.head_commit.message, 'Release')"
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
uses: https://gitee.com/actions-mirror/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# 如果你文档需要 Git 子模块,取消注释下一行
|
||||
submodules: true
|
||||
|
||||
- name: 替换软件源为国内软件源
|
||||
run: |
|
||||
cat /etc/os-release
|
||||
@ -52,13 +60,6 @@ jobs:
|
||||
# CLEAN_REPO_URL="${CLEAN_REPO_URL#https://}"
|
||||
# git clone "https://${GITEA_TOKEN}@${CLEAN_REPO_URL}" .
|
||||
|
||||
- name: Checkout
|
||||
uses: https://gitee.com/actions-mirror/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# 如果你文档需要 Git 子模块,取消注释下一行
|
||||
submodules: true
|
||||
|
||||
- name: 设置 Git 身份
|
||||
run: |
|
||||
git config user.name "${{ github.actor }}"
|
||||
|
Loading…
Reference in New Issue
Block a user