Skip to content

Commit

Permalink
action add upx compress
Browse files Browse the repository at this point in the history
  • Loading branch information
panxiuqing committed May 16, 2021
1 parent cc44a09 commit 18e7f99
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@ jobs:
go-version: 1.16.3

- name: Build
run: go build
run: go build -ldflags='-s -w'

- name: UPX Compress
uses: crazy-max/ghaction-upx@v1
with:
version: latest
files: |
gitig
args: -fq

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

0 comments on commit 18e7f99

Please sign in to comment.