Skip to content

Commit

Permalink
added upx compression
Browse files Browse the repository at this point in the history
  • Loading branch information
hellt committed Jul 8, 2021
1 parent 0c42300 commit 8af7855
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,11 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: ${{ env.GOVER }}
- name: Install upx
run: |
sudo apt update && sudo apt install -y libucl1
curl -L http://archive.ubuntu.com/ubuntu/pool/universe/u/upx-ucl/upx-ucl_3.96-2_amd64.deb -o /tmp/upx.deb
sudo dpkg -i /tmp/upx.deb
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ builds:
- linux
goarch:
- amd64
hooks:
post: upx "{{ .Path }}"
archives:
- replacements:
linux: Linux
Expand Down

0 comments on commit 8af7855

Please sign in to comment.