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

This commit is contained in:
2026-04-27 13:03:12 +08:00
parent 68564b7b80
commit d44efeef8d
+3 -3
View File
@@ -21,7 +21,7 @@ jobs:
- name: 安装Go(镜像)
run: |
sh -x
set -x
echo "正在检查 Go 语言最新版本..."
LATEST_GO_VERSION=$(curl -s https://go.dev/VERSION?m=text | head -n 1)
if [ -z "$LATEST_GO_VERSION" ]; then
@@ -45,13 +45,13 @@ jobs:
- name: 安装构建工具
run: |
sh -x
set -x
npm install -g pnpm
go install github.com/wailsapp/wails/v2/cmd/wails@latest
- name: 构建上传工具
run: |
sh -x
set -x
wails build \
-platform windows/amd64 \
-ldflags "-X 'main.version=$(TZ=Asia/Shanghai date +"%m%d%H%M")'" \