File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -370,6 +370,9 @@ jobs:
370
370
- name : Install nfpm
371
371
run : go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v2.16.0
372
372
373
+ - name : Install zstd
374
+ run : sudo apt-get install -y zstd
375
+
373
376
- name : Build site
374
377
run : make -B site/out/index.html
375
378
@@ -382,6 +385,7 @@ jobs:
382
385
# build slim binaries
383
386
./scripts/build_go_slim.sh \
384
387
--output ./dist/ \
388
+ --compress 22 \
385
389
linux:amd64,armv7,arm64 \
386
390
windows:amd64,arm64 \
387
391
darwin:amd64,arm64
Original file line number Diff line number Diff line change 68
68
- name : Install nfpm
69
69
run : go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v2.16.0
70
70
71
+ - name : Install zstd
72
+ run : sudo apt-get install -y zstd
73
+
71
74
- name : Build Site
72
75
run : make site/out/index.html
73
76
80
83
# build slim binaries
81
84
./scripts/build_go_slim.sh \
82
85
--output ./dist/ \
86
+ --compress 22 \
83
87
linux:amd64,armv7,arm64 \
84
88
windows:amd64,arm64 \
85
89
darwin:amd64,arm64
@@ -198,6 +202,9 @@ jobs:
198
202
brew tap mitchellh/gon
199
203
brew install mitchellh/gon/gon
200
204
205
+ # Used for compressing embedded slim binaries
206
+ brew install zstd
207
+
201
208
- name : Build Site
202
209
run : make site/out/index.html
203
210
@@ -210,6 +217,7 @@ jobs:
210
217
# build slim binaries
211
218
./scripts/build_go_slim.sh \
212
219
--output ./dist/ \
220
+ --compress 22 \
213
221
linux:amd64,armv7,arm64 \
214
222
windows:amd64,arm64 \
215
223
darwin:amd64,arm64
You can’t perform that action at this time.
0 commit comments