REM Using the artifacts plugin v1.3 on Windows seems to break the whole step
buildkite-agent artifact download "Bugsnag.unitypackage" .
cd features\scripts
C:\Progra~1\Git\bin\bash.exe build_maze_runner.sh windows
cd ..\fixtures\maze_runner\build
7z a -r Windows-%UNITY_VERSION%.zip Windows

REM Using the artifacts plugin v1.3 on Windows seems to break the whole step
buildkite-agent artifact download "Bugsnag.unitypackage" .
cd features\scripts
C:\Progra~1\Git\bin\bash.exe build_maze_runner.sh windows
IF NOT [%ERRORLEVEL%] EQU [0] EXIT /B %ERRORLEVEL%

cd ..\fixtures\maze_runner\build
7z a -r Windows-%UNITY_VERSION%.zip Windows

Return exit code from batch script if build fails [full ci]
Return exit code from batch script if build fails
[full ci]