From 43769357483a27c95daf6071e6d4b2e84f2006cd Mon Sep 17 00:00:00 2001 From: Boldi Date: Fri, 24 Nov 2023 12:19:17 +0000 Subject: [PATCH] Finalizing deployment --- .github/workflows/deploy.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index abacfcf8..73338c8c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,12 +36,14 @@ jobs: pip install . - name: Build ZXLive run: pyside6-deploy -v -f -c pysidedeploy.spec --keep-deployment-files - - name: Rename files, fix deployment file location + - name: Rename files, fix deployment file location - Windows + if: matrix.os == 'windows-latest' + run: mv build/__main__.exe ./zxlive_windows.exe + - name: Rename files, fix deployment file location - Linux, MacOS + if: matrix.os != 'windows-latest' run: | if [ "$RUNNER_OS" == "Linux" ]; then mv build/__main__.bin ./zxlive_linux.bin - elif [ "$RUNNER_OS" == "Windows" ]; then - mv build/__main__.bin ./zxlive_windows.exe elif [ "$RUNNER_OS" == "macOS" ]; then mv zxlive/deployment/__main__.app/Contents/MacOS/__main__ ./zxlive_macos.command fi