From 2a87fc9e90c995e4de5ab858b66ce360b8e00550 Mon Sep 17 00:00:00 2001 From: vgmoose Date: Sun, 23 Jul 2023 10:39:00 -0400 Subject: [PATCH] ci: fix windows deploy --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 70907e9..bbb09a5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,8 +30,10 @@ jobs: macdeployqt ./CaptiveDNS/CaptiveDNS.app -dmg zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS.dmg elif [[ "${{ matrix.os }}" == "windows" ]]; then - windeployqt CaptiveDNS.exe - zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS/CaptiveDNS.exe + mkdir -p ./CaptiveDNS/CaptiveDNS + cp ./CaptiveDNS/CaptiveDNS.exe ./CaptiveDNS/CaptiveDNS + windeployqt ./CaptiveDNS/CaptiveDNS/CaptiveDNS.exe + zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS/CaptiveDNS else zip -r ./CaptiveDNS-${{ matrix.os }}.zip ./CaptiveDNS/CaptiveDNS fi