diff --git a/.github/workflows/build-simulator.yaml b/.github/workflows/build-simulator.yaml index fee3ba184c..1976ab4e46 100644 --- a/.github/workflows/build-simulator.yaml +++ b/.github/workflows/build-simulator.yaml @@ -19,7 +19,7 @@ jobs: - name: Compile Simulator working-directory: ./simulator/ - run: sh compile.sh + run: bash compile.sh - name: Upload built simulator uses: actions/upload-artifact@v2 diff --git a/simulator/compile.sh b/simulator/compile.sh index ab4db04d75..7858d49289 100644 --- a/simulator/compile.sh +++ b/simulator/compile.sh @@ -1,4 +1,5 @@ rm -f build/rusefi_simulator.exe make -j4 -r +[ $? -eq 0 ] || { echo "Simulator compilation failed"; exit 1; } file build/rusefi_simulator echo "TIMESTAMP $(date "+%D %T.%2N") just compiled rusefi simulator"