Revert "add logic to copy package to folder without activation file"

This reverts commit b20d994b5d.
pull/164/head
Aaron Trudeau 2022-05-11 00:06:45 -04:00
parent 0e7c6f93e2
commit 76e4fa8414
No known key found for this signature in database
GPG Key ID: D6874B046ABF9536
1 changed files with 0 additions and 13 deletions

View File

@ -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 #"