reduce the binary size

This commit is contained in:
Yoan.liu 2025-05-23 17:23:36 +08:00
parent bff8add010
commit 312589ab1c
2 changed files with 8 additions and 0 deletions

View File

@ -24,6 +24,11 @@ jobs:
with:
go-version-file: "go.mod"
- name: Install upx (optional)
run: |
sudo apt-get update
sudo apt-get install -y upx
- name: Build WebUI
run: |
npm --prefix=./ui ci

View File

@ -30,6 +30,9 @@ builds:
- goos: darwin
goarch: arm
upx:
enable: true
release:
draft: true