diff --git a/.gitea/workflows/AutoRelease.yaml b/.gitea/workflows/AutoRelease.yaml index dd3bc75..540bb24 100644 --- a/.gitea/workflows/AutoRelease.yaml +++ b/.gitea/workflows/AutoRelease.yaml @@ -7,19 +7,18 @@ on: jobs: AutoRelease: - + # 如果有Release标签则运行jobs if: "contains(github.event.head_commit.message, 'Release')" - - container: - image: gitea/runner-images:ubuntu-latest - + # 工作在ubuntu-latest系统中 + runs-on: ubuntu-latest + # 以下是steps steps: - + # 检出仓库 - name: Checkout uses: https://gitee.com/actions-mirror/checkout@v4 with: fetch-depth: 0 - # 如果你文档需要 Git 子模块,取消注释下一行 + # 启用子模块支持 submodules: true # - name: 替换软件源为国内软件源