chore: add upx to github action workflow
This commit is contained in:
parent
7b6708780e
commit
fde8da74f9
|
@ -15,14 +15,17 @@ jobs:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
goos: windows
|
goos: windows
|
||||||
bin: 'hack-browser-data.exe'
|
bin: 'hack-browser-data.exe'
|
||||||
|
args: -9
|
||||||
releaseos: windows
|
releaseos: windows
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
goos: darwin
|
goos: darwin
|
||||||
bin: 'hack-browser-data'
|
bin: 'hack-browser-data'
|
||||||
|
args: -9
|
||||||
releaseos: osx
|
releaseos: osx
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
goos: linux
|
goos: linux
|
||||||
bin: 'hack-browser-data'
|
bin: 'hack-browser-data'
|
||||||
|
args: -9
|
||||||
releaseos: linux
|
releaseos: linux
|
||||||
exclude:
|
exclude:
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
|
@ -47,6 +50,10 @@ jobs:
|
||||||
GOOS: ${{ matrix.goos }}
|
GOOS: ${{ matrix.goos }}
|
||||||
GOARCH: ${{ matrix.arch }}
|
GOARCH: ${{ matrix.arch }}
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
|
- uses: svenstaro/upx-action@v2
|
||||||
|
with:
|
||||||
|
args: ${{ matrix.args }}
|
||||||
|
file: ${{ matrix.bin }}
|
||||||
- name: Upload to artifacts
|
- name: Upload to artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue