mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
fix(release): switch to agent-bin and gzip-only embedded web
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user