fix(build): 修复构建工具配置问题
构建上传工具 / build-tool (push) Successful in 2m6s

This commit is contained in:
2026-04-27 01:15:38 +08:00
parent 4233619fb3
commit 9fb4817b6c
+9 -9
View File
@@ -10,6 +10,15 @@ jobs:
- name: 检出代码 - name: 检出代码
uses: actions/checkout@v4 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(镜像) - name: 安装Go(镜像)
run: | run: |
echo "正在检查 Go 语言最新版本..." echo "正在检查 Go 语言最新版本..."
@@ -39,15 +48,6 @@ jobs:
apt install -y mingw-w64 apt install -y mingw-w64
x86_64-w64-mingw32-gcc --version 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: 构建上传工具 - name: 构建上传工具
run: | run: |
npm install -g pnpm npm install -g pnpm