Skip to content

Commit c4a03f2

Browse files
authored
do not use upx anymore (#759)
Co-authored-by: Rick <[email protected]>
1 parent f6e3b54 commit c4a03f2

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

.github/workflows/pull-request.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ jobs:
1717
id: go
1818
- name: Check out code into the Go module directory
1919
uses: actions/[email protected]
20-
- name: Upgrade upx
21-
run: |
22-
# try to fix https://github.com/jenkins-zh/jenkins-cli/issues/493
23-
wget https://github.com/upx/upx/releases/download/v3.96/upx-3.96-amd64_linux.tar.xz
24-
tar xvf upx-3.96-amd64_linux.tar.xz
25-
upx-3.96-amd64_linux/upx -V
26-
sudo mv upx-3.96-amd64_linux/upx $(which upx)
27-
upx -V
2820
- name: Run GoReleaser
2921
uses: goreleaser/[email protected]
3022
with:

.github/workflows/release.yaml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@ jobs:
1717
uses: actions/[email protected]
1818
with:
1919
go-version: 1.16.x
20-
- name: Upgrade upx
21-
run: |
22-
# try to fix https://github.com/jenkins-zh/jenkins-cli/issues/493
23-
wget https://github.com/upx/upx/releases/download/v3.96/upx-3.96-amd64_linux.tar.xz
24-
tar xvf upx-3.96-amd64_linux.tar.xz
25-
upx-3.96-amd64_linux/upx -V
26-
sudo mv upx-3.96-amd64_linux/upx $(which upx)
27-
rm -rf upx-3.96-amd64_linux
28-
rm -rf xvf upx-3.96-amd64_linux.tar.xz
29-
upx -V
3020
- name: Run GoReleaser
3121
uses: goreleaser/[email protected]
3222
with:

.goreleaser.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ builds:
1818
goarch: arm64
1919
- goos: darwin
2020
goarch: arm
21-
hooks:
22-
post:
23-
- upx "{{ .Path }}"
2421
ldflags:
2522
- -X github.com/linuxsuren/cobra-extension/version.version={{.Version}}
2623
- -X github.com/linuxsuren/cobra-extension/version.commit={{.ShortCommit}}

0 commit comments

Comments
 (0)