Skip to content
This repository was archived by the owner on Nov 20, 2022. It is now read-only.

Commit b77f682

Browse files
committed
fix(ci): 修复CI
1 parent 8f6aee6 commit b77f682

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/release.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@ jobs:
1515
- uses: actions/setup-go@v2
1616
with:
1717
go-version: '^1.16'
18-
- run: |
19-
(New-Object System.Net.WebClient).DownloadFile("https://github.com/upx/upx/releases/download/v3.96/upx-3.96-win64.zip",$(Get-Location).Path+"\upx.zip");
20-
7z e upx.zip -r -o".\" upx.exe
18+
- name: Install UPX
19+
run: choco install upx
2120
- run: |
2221
go install github.com/tc-hib/go-winres@latest
2322
go-winres simply --icon public/favicon.png

.goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ builds:
1414
- -X main.Version={{.Tag}} -X main.BuildDate={{time "20060102"}}
1515
hooks:
1616
post:
17-
- ./upx.exe "{{ .Path }}"
17+
- upx "{{ .Path }}"
1818
archives:
1919
- replacements:
2020
windows: Windows

0 commit comments

Comments
 (0)