fix(ci): upx compress runs on unsupported platforms

This commit is contained in:
nullcat
2026-05-25 01:07:10 +08:00
parent 7bf362cc66
commit fb6965cd94
+2 -2
View File
@@ -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