Skip to content

Commit 29e7965

Browse files
committed
Disable upx action on macOS
1 parent b5e1a64 commit 29e7965

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ jobs:
152152
run: strip -s ${{ steps.bin.outputs.path }}
153153

154154
- name: Compress executable
155+
if: runner.os != 'macOS'
155156
uses: svenstaro/upx-action@v2
156157
with:
157158
files: ${{ steps.bin.outputs.path }}
@@ -202,6 +203,7 @@ jobs:
202203
run: readelf -d ./bin/${{ env.exe }}
203204

204205
- name: Compress executable
206+
if: runner.os != 'macOS'
205207
uses: svenstaro/upx-action@v2
206208
with:
207209
files: ./bin/${{ env.exe }}

0 commit comments

Comments
 (0)