From 7b5c907271dc8fdbd0a60a28695f7294d0f2c838 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 12 Jun 2024 09:42:10 +0800 Subject: [PATCH] Use 7z to compress, as zip isn't available. --- .github/workflows/update-binary.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update-binary.yml b/.github/workflows/update-binary.yml index 27b25b2..09c1b0f 100644 --- a/.github/workflows/update-binary.yml +++ b/.github/workflows/update-binary.yml @@ -48,14 +48,11 @@ jobs: echo "Build ${{ env.PYTHON_TAG }}-${{ env.BUILD_NUMBER }} console stub artefact" mv "./build/console-stub/windows/visualstudio/x64/Release/console-stub.exe" ./Stub.exe - zip Console-Stub-${{ env.PYTHON_TAG }}-${{ env.BUILD_NUMBER }}.zip Stub.exe + 7z a Console-Stub-${{ env.PYTHON_TAG }}-${{ env.BUILD_NUMBER }}.zip Stub.exe echo "Build ${{ env.PYTHON_TAG }}-${{ env.BUILD_NUMBER }} GUI stub artefact" mv "./build/gui-stub/windows/visualstudio/x64/Release/GUI Stub.exe" ./Stub.exe - zip GUI-Stub-${{ env.PYTHON_TAG }}-${{ env.BUILD_NUMBER }}.zip Stub.exe - - echo "Stub binaries:" - ls -1 *.zip + 7z a GUI-Stub-${{ env.PYTHON_TAG }}-${{ env.BUILD_NUMBER }}.zip Stub.exe echo "Stub binaries:" ls -1 *.zip