From fbeaf778678faac723d983a69aea0f84b0d158e2 Mon Sep 17 00:00:00 2001 From: litefeel Date: Sat, 7 Mar 2020 13:20:25 +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 5fdd5d04..d39eee01 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