Fixed always passing action
parent
58f580c801
commit
c85e37ca1f
|
@ -83,12 +83,12 @@ if [ $EDIT_MODE = true ]; then
|
||||||
-testPlatform editmode \
|
-testPlatform editmode \
|
||||||
-testResults "$FULL_ARTIFACTS_PATH/editmode-results.xml" \
|
-testResults "$FULL_ARTIFACTS_PATH/editmode-results.xml" \
|
||||||
$CUSTOM_PARAMETERS
|
$CUSTOM_PARAMETERS
|
||||||
|
|
||||||
# Print unity log output
|
|
||||||
cat "$FULL_ARTIFACTS_PATH/editmode.log"
|
|
||||||
|
|
||||||
# Catch exit code
|
# Catch exit code
|
||||||
EDIT_MODE_EXIT_CODE=$?
|
EDIT_MODE_EXIT_CODE=$?
|
||||||
|
|
||||||
|
# Print unity log output
|
||||||
|
cat "$FULL_ARTIFACTS_PATH/editmode.log"
|
||||||
|
|
||||||
# Display results
|
# Display results
|
||||||
if [ $EDIT_MODE_EXIT_CODE -eq 0 ]; then
|
if [ $EDIT_MODE_EXIT_CODE -eq 0 ]; then
|
||||||
|
@ -121,13 +121,13 @@ if [ $PLAY_MODE = true ]; then
|
||||||
-testPlatform playmode \
|
-testPlatform playmode \
|
||||||
-testResults "$FULL_ARTIFACTS_PATH/playmode-results.xml" \
|
-testResults "$FULL_ARTIFACTS_PATH/playmode-results.xml" \
|
||||||
$CUSTOM_PARAMETERS
|
$CUSTOM_PARAMETERS
|
||||||
|
|
||||||
|
# Catch exit code
|
||||||
|
PLAY_MODE_EXIT_CODE=$?
|
||||||
|
|
||||||
# Print unity log output
|
# Print unity log output
|
||||||
cat "$FULL_ARTIFACTS_PATH/playmode.log"
|
cat "$FULL_ARTIFACTS_PATH/playmode.log"
|
||||||
|
|
||||||
# Catch exit code
|
|
||||||
PLAY_MODE_EXIT_CODE=$?
|
|
||||||
|
|
||||||
# Display results
|
# Display results
|
||||||
if [ $PLAY_MODE_EXIT_CODE -eq 0 ]; then
|
if [ $PLAY_MODE_EXIT_CODE -eq 0 ]; then
|
||||||
echo "Run succeeded, no failures occurred";
|
echo "Run succeeded, no failures occurred";
|
||||||
|
|
Loading…
Reference in New Issue