From d963038034ccfbff049b92c81f1b7f1deaf5a8e0 Mon Sep 17 00:00:00 2001 From: Daniel Marschall <28412477+danielmarschall@users.noreply.github.com> Date: Mon, 26 Aug 2024 16:28:39 +0200 Subject: [PATCH] Update flutter-build.yml --- .github/workflows/flutter-build.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/flutter-build.yml b/.github/workflows/flutter-build.yml index 2a90bef3a54f..4be9c8a1ac44 100644 --- a/.github/workflows/flutter-build.yml +++ b/.github/workflows/flutter-build.yml @@ -183,9 +183,6 @@ jobs: pip3 install requests argparse BASE_URL=${{ secrets.SIGN_BASE_URL }} SECRET_KEY=${{ secrets.SIGN_SECRET_KEY }} python3 res/job.py sign_files ./rustdesk/ - - name: Install zip (if not installed) - run: sudo apt-get install -y zip - - name: Build self-extracted executable shell: bash if: env.UPLOAD_ARTIFACT == 'true' @@ -196,7 +193,7 @@ jobs: python3 ./generate.py -f ../../rustdesk/ -o . -e ../../rustdesk/rustdesk.exe popd mv ./target/release/rustdesk-portable-packer.exe ./rustdesk-hickelsoft-win64.exe - zip -r rustdesk-hickelsoft-win64.zip rustdesk/ + powershell Compress-Archive -Path rustdesk\* -DestinationPath rustdesk-hickelsoft-win64.zip - name: Add MSBuild to PATH uses: microsoft/setup-msbuild@v2 @@ -343,9 +340,6 @@ jobs: pip3 install requests argparse BASE_URL=${{ secrets.SIGN_BASE_URL }} SECRET_KEY=${{ secrets.SIGN_SECRET_KEY }} python3 res/job.py sign_files ./Release/ - - name: Install zip (if not installed) - run: sudo apt-get install -y zip - - name: Build self-extracted executable shell: bash run: | @@ -355,7 +349,7 @@ jobs: python3 ./generate.py -f ../../Release/ -o . -e ../../Release/rustdesk.exe popd mv ./target/release/rustdesk-portable-packer.exe ./rustdesk-hickelsoft-win32.exe - zip -r rustdesk-hickelsoft-win64.zip rustdesk/ + powershell Compress-Archive -Path rustdesk\* -DestinationPath rustdesk-hickelsoft-win32.zip - name: Sign rustdesk self-extracted file if: env.UPLOAD_ARTIFACT == 'true' && env.SIGN_BASE_URL != ''