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