fix(release): switch to agent-bin and gzip-only embedded web

This commit is contained in:
Ran
2026-02-24 22:29:15 +08:00
parent 6f392cbb90
commit 30fe3edc39
5 changed files with 227 additions and 156 deletions
+6 -2
View File
@@ -39,8 +39,6 @@ jobs:
goarch: amd64
- goos: linux
goarch: arm64
- goos: linux
goarch: riscv64
- goos: darwin
goarch: amd64
- goos: darwin
@@ -66,6 +64,9 @@ jobs:
with:
go-version-file: go.mod
- name: Install UPX
run: sudo apt-get update && sudo apt-get install -y upx-ucl
- name: Install JS dependencies
run: pnpm install --frozen-lockfile
@@ -76,6 +77,9 @@ jobs:
VERSION: ${{ github.ref_name }}
COMMIT_HASH: ${{ github.sha }}
OUTPUT_DIR: dist
UPX_COMPRESS_AGENT_BIN: "true"
AUTO_INSTALL_UPX: "true"
UPX_ARGS: "-3"
run: scripts/release.sh
- name: Upload release assets