feat(自动构建): 构建OFDGo WebUI镜像
build.yaml / build (push) Successful in 44s

This commit is contained in:
xiaoqidun committed 2026-07-03 20:29:46 +08:00
1 parent bb2ae9da86
commit 691e722226
3 files changed
+51

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
set -e
export TZ=Asia/Shanghai
GOOS=js GOARCH=wasm CGO_ENABLED=0 go build -o assets/webui/ofdgo.wasm -trimpath -ldflags "-s -w -buildid=" ./cmd/webui/wasm.go
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o main -trimpath -ldflags "-s -w -buildid=" ./cmd/webui/webui.go