We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4470c7a commit 134b783Copy full SHA for 134b783
action/entrypoint.sh
@@ -20,17 +20,17 @@ xvfb-run --auto-servernum --server-args='-screen 0 640x480x24' \
20
-quit \
21
-createManualActivationFile
22
23
- # Catch exit code
24
- UNITY_EXIT_CODE=$?
+# Catch exit code
+UNITY_EXIT_CODE=$?
25
26
# Output the resulting file by copying
27
cp $FILE_NAME $HOME/$FILE_PATH
28
29
# Set resulting name as output variable
30
echo ::set-output name=filePath::$FILE_PATH
31
32
-
33
-if [[ $UNITY_EXIT_CODE -eq 0 ]]; then
+# Unity exits with exit code 1 for success cases
+if [[ $UNITY_EXIT_CODE -eq 0 ]] || [[ $UNITY_EXIT_CODE -eq 1 ]]; then
34
echo ""
35
echo "###########################"
36
echo "# Succeeded #"
0 commit comments