From 76e4fa8414a3d82fc18775f1edbc56fc4d1df868 Mon Sep 17 00:00:00 2001 From: Aaron Trudeau <36064197+trudeaua21@users.noreply.github.com> Date: Wed, 11 May 2022 00:06:45 -0400 Subject: [PATCH] Revert "add logic to copy package to folder without activation file" This reverts commit b20d994b5d0c745b58c3a22c92fb757211591f6f. --- dist/steps/run_tests.sh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/dist/steps/run_tests.sh b/dist/steps/run_tests.sh index 276d8e5..1cb9fff 100755 --- a/dist/steps/run_tests.sh +++ b/dist/steps/run_tests.sh @@ -14,19 +14,6 @@ echo "Using project path \"$UNITY_PROJECT_PATH\"." if [ "$PACKAGE_MODE" = "true" ]; then echo "Running tests on a Unity package rather than a Unity project." - ACTIVATE_LICENSE_FILE_NAME="_activate-license" - - if [ -f "$ACTIVATE_LICENSE_FILE_NAME"]; then - echo "Package is in repository root. Copying package to temporary directory to avoid Unity Errors." - - ROOT_FOLDER_NAME=$(echo "${PWD##*/}") - COPIED_PACKAGE_DIR_NAME="copiedPackage" - - rsync -r "$GITHUB_WORKSPACE" "$COPIED_PACKAGE_DIR_NAME" --exclude "ACTIVATE_LICENSE_FILE_NAME" - - UNITY_PROJECT_PATH="$COPIED_PACKAGE_DIR_NAME/$ROOT_FOLDER_NAME" - fi - echo "" echo "###########################" echo "# Package Folder #"