Skip to content

Commit 9780099

Browse files
committed
CI:Skipping UPX compression for macOS as it's not supported
1 parent 05e4b3d commit 9780099

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ jobs:
4949
- name: Compress binary with UPX
5050
shell: bash
5151
run: |
52-
upx --best --lzma ${{ matrix.artifact_name }}
52+
if [ "${{ runner.os }}" != "macOS" ]; then
53+
upx --best --lzma ${{ matrix.artifact_name }}
54+
else
55+
echo "Skipping UPX compression for macOS as it's not supported"
56+
fi
5357
5458
- name: Extract version from tag
5559
id: get_version

0 commit comments

Comments
 (0)