From cd86c7302b139d596267624f71452b5d02b955b9 Mon Sep 17 00:00:00 2001 From: litefeel Date: Sat, 7 Mar 2020 13:21:06 +0800 Subject: [PATCH] Apply merge request suggestions --- action/steps/activate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action/steps/activate.sh b/action/steps/activate.sh index 734f38e..db722b6 100644 --- a/action/steps/activate.sh +++ b/action/steps/activate.sh @@ -18,7 +18,7 @@ if [[ -n "$UNITY_LICENSE" ]] || [[ -n "$UNITY_LICENSE_FILE" ]]; then if [[ -n "$UNITY_LICENSE" ]]; then # Copy license file from Github variables echo "$UNITY_LICENSE" | tr -d '\r' > $FILE_PATH - else + elif [[ -n "$UNITY_LICENSE_FILE" ]]; then # Copy license file from file system cat "$UNITY_LICENSE_FILE" | tr -d '\r' > $FILE_PATH fi