Skip to content

Commit f9f889e

Browse files
committed
Fix test and exit 0
1 parent 134b783 commit f9f889e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Diff for: action/entrypoint.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ cp $FILE_NAME $HOME/$FILE_PATH
2929
# Set resulting name as output variable
3030
echo ::set-output name=filePath::$FILE_PATH
3131

32-
# Unity exits with exit code 1 for success cases
3332
if [[ $UNITY_EXIT_CODE -eq 0 ]] || [[ $UNITY_EXIT_CODE -eq 1 ]]; then
3433
echo ""
3534
echo "###########################"
@@ -40,7 +39,8 @@ if [[ $UNITY_EXIT_CODE -eq 0 ]] || [[ $UNITY_EXIT_CODE -eq 1 ]]; then
4039
echo ""
4140
echo "Set the contents of the resulting license file as the \$UNITY_LICENSE variabe."
4241
echo ""
43-
exit $UNITY_EXIT_CODE
42+
# Unity exits with exit code 1 for success cases
43+
exit 0
4444
else
4545
echo ""
4646
echo "###########################"

Diff for: action/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/model/action.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Action {
1414
}
1515

1616
static get name() {
17-
return 'unity-request-manual-activation-file';
17+
return 'unity-request-activation-file';
1818
}
1919

2020
static get rootFolder() {

0 commit comments

Comments
 (0)