fix: Install UPX in build workflow

Added step to install UPX for binary compression.
This commit is contained in:
spiritlhl
2026-01-13 19:57:55 +08:00
committed by GitHub
parent 8f2fe236d5
commit c4b11ae37d

View File

@@ -40,6 +40,11 @@ jobs:
with: with:
go-version: 1.25.4 go-version: 1.25.4
- name: Install UPX
run: |
sudo apt-get update
sudo apt-get install -y upx-ucl
- name: Configure Git for Private Modules - name: Configure Git for Private Modules
run: | run: |
git config --global url."https://${{ secrets.GHT }}@github.com/".insteadOf "https://github.com/" git config --global url."https://${{ secrets.GHT }}@github.com/".insteadOf "https://github.com/"