Skip to content

Commit

Permalink
🚸 移除 upx,编译 arm64/mips 存在问题
Browse files Browse the repository at this point in the history
  • Loading branch information
naiba committed May 26, 2021
1 parent 7eeacf7 commit e93d58d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Download UPX
run: |
wget https://github.com/upx/upx/releases/download/v3.95/upx-3.95-amd64_linux.tar.xz
tar --strip-components=1 -xf upx-3.95-amd64_linux.tar.xz && sudo mv upx /usr/bin/
git reset --hard
git clean -f -d
upx --version
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
if: startsWith(github.ref, 'refs/tags/')
Expand Down
4 changes: 0 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ builds:
goarch: arm64
main: ./cmd/agent
binary: nezha-agent
# 为路由器、开发板缩小二进制体积
hooks:
post:
- upx --best "{{.Path}}"
checksum:
name_template: "checksums.txt"
snapshot:
Expand Down

0 comments on commit e93d58d

Please sign in to comment.