From 9fb4817b6c5794e37bc40d5867e166b49ef366d3 Mon Sep 17 00:00:00 2001 From: YGXB_net Date: Mon, 27 Apr 2026 01:15:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(build):=20=E4=BF=AE=E5=A4=8D=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E5=B7=A5=E5=85=B7=E9=85=8D=E7=BD=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build_tool.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build_tool.yaml b/.gitea/workflows/build_tool.yaml index 368f7f1..53f9e51 100644 --- a/.gitea/workflows/build_tool.yaml +++ b/.gitea/workflows/build_tool.yaml @@ -10,6 +10,15 @@ jobs: - name: 检出代码 uses: actions/checkout@v4 + - name: 缓存依赖 + uses: actions/cache@v4 + with: + path: | + ~/go/pkg/mod + ~/.cache/go-build + /var/cache/apt/archives + key: ${{ runner.os }}-go + - name: 安装Go(镜像) run: | echo "正在检查 Go 语言最新版本..." @@ -39,15 +48,6 @@ jobs: apt install -y mingw-w64 x86_64-w64-mingw32-gcc --version - - name: 缓存依赖 - uses: actions/cache@v4 - with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - /var/cache/apt/archives - key: ${{ runner.os }}-go - - name: 构建上传工具 run: | npm install -g pnpm