mirror of https://github.com/PCSX2/pcsx2.git
GHActions:Windows:CMake: Properly exit on failed build
This commit is contained in:
parent
a50a9fcf9a
commit
e55825fd88
|
@ -85,7 +85,7 @@ jobs:
|
|||
run: |
|
||||
if "${{ inputs.configuration }}"=="CMake" (
|
||||
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\${{ steps.cmake.outputs.vcvars }}"
|
||||
cmake --build build --config Release
|
||||
cmake --build build --config Release || exit /b
|
||||
cp build/pcsx2/pcsx2* bin/
|
||||
) else (
|
||||
msbuild "PCSX2_suite.sln" /m /v:m /p:Configuration="${{ inputs.configuration }}" /p:Platform="${{ inputs.platform }}"
|
||||
|
|
Loading…
Reference in New Issue