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