mirror of
https://github.com/chainreactors/spray.git
synced 2025-08-13 03:16:37 +00:00
enable upx release
This commit is contained in:
parent
2222b49632
commit
3272210e07
5
.github/workflows/gorelease.yml
vendored
5
.github/workflows/gorelease.yml
vendored
@ -17,6 +17,11 @@ jobs:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
submodules: recursive
|
||||
|
||||
- name: Install upx
|
||||
run: sudo apt install upx -y
|
||||
continue-on-error: true
|
||||
|
||||
-
|
||||
name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
|
@ -32,11 +32,11 @@ builds:
|
||||
gcflags:
|
||||
- all=-trimpath={{.Env.GOPATH}}
|
||||
no_unique_dist_dir: true
|
||||
|
||||
upx:
|
||||
- # Whether to enable it or not.
|
||||
#
|
||||
# Templates: allowed (since v1.21)
|
||||
-
|
||||
enabled: true
|
||||
goos: [linux, windows]
|
||||
|
||||
archives:
|
||||
-
|
||||
|
Loading…
x
Reference in New Issue
Block a user