Skip to content

Commit 9033554

Browse files
author
Stefano Torresi
committed
compress binaries after having built them, for greener artifacts
1 parent cf586eb commit 9033554

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/exporter-ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ jobs:
3737
run: make test
3838
- name: build
3939
run: make -j4 build-all
40+
- name: compress
41+
run: |
42+
set -x
43+
for FILE in build/bin/*; do
44+
gzip $FILE
45+
done
4046
- uses: actions/upload-artifact@v2
4147
with:
4248
name: ha_cluster_exporter

0 commit comments

Comments
 (0)