fix(ci): upx compress runs on unsupported platforms
This commit is contained in:
@@ -37,12 +37,12 @@ jobs:
|
|||||||
go build -v -o "release/${BINARY_NAME}" .
|
go build -v -o "release/${BINARY_NAME}" .
|
||||||
|
|
||||||
- name: Compress with UPX
|
- name: Compress with UPX
|
||||||
uses: svenstaro/upx-action@v2
|
if: matrix.goos != 'darwin'
|
||||||
|
uses: crazy-max/ghaction-upx@v4.0.0
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
release/tslink*
|
release/tslink*
|
||||||
args: "-9"
|
args: "-9"
|
||||||
strip: true
|
|
||||||
|
|
||||||
- name: Get current date
|
- name: Get current date
|
||||||
id: date
|
id: date
|
||||||
|
|||||||
Reference in New Issue
Block a user