Skip to content

Commit

Permalink
Do not compress binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Brawl345 committed Apr 25, 2023
1 parent 673a95f commit f462ae6
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
uses: actions/checkout@v3

- name: Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
Expand All @@ -38,7 +38,7 @@ jobs:
${{ runner.os }}-go-
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ env.GOVER }}

Expand All @@ -52,15 +52,6 @@ jobs:
if: matrix.GOOS == 'windows'
run: for x in dist/$NAME-windows-*; do mv $x $x.exe; done

- name: Compress binary
if: matrix.GOOS != 'windows' || matrix.GOARCH != 'arm64'
uses: crazy-max/ghaction-upx@v1
with:
version: latest
files: |
./dist/*
args: -fq --best --lzma

- name: Upload binary
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit f462ae6

Please sign in to comment.