Skip to content

Commit

Permalink
Fix test and exit 0
Browse files Browse the repository at this point in the history
  • Loading branch information
webbertakken committed Sep 27, 2020
1 parent 134b783 commit f9f889e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ cp $FILE_NAME $HOME/$FILE_PATH
# Set resulting name as output variable
echo ::set-output name=filePath::$FILE_PATH

# Unity exits with exit code 1 for success cases
if [[ $UNITY_EXIT_CODE -eq 0 ]] || [[ $UNITY_EXIT_CODE -eq 1 ]]; then
echo ""
echo "###########################"
Expand All @@ -40,7 +39,8 @@ if [[ $UNITY_EXIT_CODE -eq 0 ]] || [[ $UNITY_EXIT_CODE -eq 1 ]]; then
echo ""
echo "Set the contents of the resulting license file as the \$UNITY_LICENSE variabe."
echo ""
exit $UNITY_EXIT_CODE
# Unity exits with exit code 1 for success cases
exit 0
else
echo ""
echo "###########################"
Expand Down
2 changes: 1 addition & 1 deletion action/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/model/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Action {
}

static get name() {
return 'unity-request-manual-activation-file';
return 'unity-request-activation-file';
}

static get rootFolder() {
Expand Down

0 comments on commit f9f889e

Please sign in to comment.