From a4037ec6b94d84c14e5bf5270e3deb8f593acf43 Mon Sep 17 00:00:00 2001 From: FriwiDev Date: Mon, 25 Oct 2021 14:04:35 +0200 Subject: [PATCH] Attempt to fix syntax error --- .github/workflows/build-windows.yml | 4 ++-- compile_windows.bat | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 0027a53..a1e288a 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -14,7 +14,7 @@ jobs: name: Build shell: cmd run: | - cmd.exe /k compile_windows.bat amd64 Release + compile_windows.bat amd64 Release - name: Export artifacts uses: actions/upload-artifact@v2 @@ -31,7 +31,7 @@ jobs: name: Build shell: cmd run: | - cmd.exe /k compile_windows.bat 386 Release + compile_windows.bat 386 Release - name: Export artifacts uses: actions/upload-artifact@v2 diff --git a/compile_windows.bat b/compile_windows.bat index 6593e4f..95d2669 100755 --- a/compile_windows.bat +++ b/compile_windows.bat @@ -1,11 +1,11 @@ @echo off -if ("%2"=="")( - echo "Usage: compile_windows.bat " - echo "" - echo "architecture: the target architecture to build for. Architectures are the docker architectures (e.g. 386 or amd64)." - echo "buildType: either Release or Debug" - exit 1 +if ("%2"=="") ( ^ + echo "Usage: compile_windows.bat " && ^ + echo "" && ^ + echo "architecture: the target architecture to build for. Architectures are the docker architectures (e.g. 386 or amd64)." && ^ + echo "buildType: either Release or Debug" && ^ + exit 1 ^ ) #Execute build with windows Dockerfile