Attempt to fix syntax error

This commit is contained in:
FriwiDev 2021-10-25 14:04:35 +02:00
parent 96310d6bea
commit a4037ec6b9
2 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@ jobs:
name: Build name: Build
shell: cmd shell: cmd
run: | run: |
cmd.exe /k compile_windows.bat amd64 Release compile_windows.bat amd64 Release
- -
name: Export artifacts name: Export artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
@ -31,7 +31,7 @@ jobs:
name: Build name: Build
shell: cmd shell: cmd
run: | run: |
cmd.exe /k compile_windows.bat 386 Release compile_windows.bat 386 Release
- -
name: Export artifacts name: Export artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2

View File

@ -1,11 +1,11 @@
@echo off @echo off
if ("%2"=="")( if ("%2"=="") ( ^
echo "Usage: compile_windows.bat <architecture> <buildType>" echo "Usage: compile_windows.bat <architecture> <buildType>" && ^
echo "" echo "" && ^
echo "architecture: the target architecture to build for. Architectures are the docker architectures (e.g. 386 or amd64)." echo "architecture: the target architecture to build for. Architectures are the docker architectures (e.g. 386 or amd64)." && ^
echo "buildType: either Release or Debug" echo "buildType: either Release or Debug" && ^
exit 1 exit 1 ^
) )
#Execute build with windows Dockerfile #Execute build with windows Dockerfile