File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 21
21
run : npm i && npm run build
22
22
working-directory : frontend
23
23
- name : Install UPX
24
- run : sudo apt-get install -y upx gcc-multilib g++-multilib
24
+ run : sudo apt-get install -y upx gcc-multilib g++-multilib gcc-mingw-w64 aarch64-linux-gnu-gcc
25
25
- name : Run GoReleaser
26
26
uses : goreleaser/goreleaser-action@v6
27
27
with :
Original file line number Diff line number Diff line change @@ -58,10 +58,6 @@ builds:
58
58
59
59
# Build configuration for freebsd without arm & upx
60
60
- id : freeBSD
61
- env :
62
- - CGO_ENABLED=1
63
- tags :
64
- - mupdf
65
61
ldflags : *ldflags
66
62
main : main.go
67
63
binary : filebrowser
@@ -75,10 +71,6 @@ builds:
75
71
76
72
# Build configuration for macos without upx
77
73
- id : macos
78
- env :
79
- - CGO_ENABLED=1
80
- tags :
81
- - mupdf
82
74
ldflags : *ldflags
83
75
main : main.go
84
76
binary : filebrowser
@@ -87,6 +79,9 @@ builds:
87
79
goarch :
88
80
- amd64
89
81
- arm64
82
+ hooks :
83
+ post :
84
+ - upx {{ .Path }} # Compress the binary with UPX
90
85
91
86
archives :
92
87
- name_template : >
You can’t perform that action at this time.
0 commit comments