Skip to content

Commit

Permalink
fix: disable UPX as it seems to produce more problems than it solves
Browse files Browse the repository at this point in the history
  • Loading branch information
slurdge committed Oct 27, 2023
1 parent 9fb6849 commit 6ce1de4
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,16 @@ jobs:
-output "build/{{.Dir}}_{{.OS}}_{{.Arch}}"
-ldflags "-w -s -X github.com/slurdge/goeland/version.GitCommit=${{ env.GIT_COMMIT }} -X github.com/slurdge/goeland/version.BuildDate=${{ env.BUILD_DATE }} -X github.com/slurdge/goeland/internal/goeland/fetch.clientID=${IMGUR_CLIENT_ID}"
- name: Run UPX
uses: crazy-max/ghaction-upx@v3
with:
version: latest
files: |
./build/*
args: -q --lzma --best
# Commented out because
# MacOS seems unsupported
# False positive with Antivirus
# - name: Run UPX
# uses: crazy-max/ghaction-upx@v3
# with:
# version: latest
# files: |
# ./build/*
# args: -q --lzma --best

- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 6ce1de4

Please sign in to comment.