From 78a9b053bb09bd4946341d91350d78654c5118c7 Mon Sep 17 00:00:00 2001 From: Arne Beer Date: Tue, 14 Mar 2023 22:09:12 +0100 Subject: [PATCH] change: Don't compress windows binaries Binaries that're compressed via upx tend to trigger the windows defender and other anti-virus programs. To prevent these false-positives, the windows binaries won't be compressed any longer. Fixes #421 --- .github/workflows/package-binary.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/package-binary.yml b/.github/workflows/package-binary.yml index 4214968a..a6e9bae9 100644 --- a/.github/workflows/package-binary.yml +++ b/.github/workflows/package-binary.yml @@ -102,6 +102,7 @@ jobs: file: ${{ matrix.client_artifact_name }} args: --lzma strip: ${{ matrix.strip }} + if: matrix.target != 'x86_64-pc-windows-msvc' - name: Compress daemon uses: svenstaro/upx-action@v2 @@ -109,6 +110,7 @@ jobs: file: ${{ matrix.daemon_artifact_name }} args: --lzma strip: ${{ matrix.strip }} + if: matrix.target != 'x86_64-pc-windows-msvc' - name: Upload client binaries to release uses: svenstaro/upload-release-action@v2