mirror of
https://github.com/game-ci/unity-test-runner.git
synced 2026-01-29 14:39:33 +08:00
try deleting all non-package files
This commit is contained in:
16
dist/steps/run_tests.sh
vendored
16
dist/steps/run_tests.sh
vendored
@@ -49,6 +49,22 @@ if [ "$PACKAGE_MODE" = "true" ]; then
|
||||
echo "###########################"
|
||||
echo ""
|
||||
|
||||
# remove .git folder, .github folder, and _activate-license file if they exist
|
||||
if [ -d "$UNITY_PROJECT_PATH/.git" ]; then
|
||||
echo "Removing .git folder."
|
||||
rm -rf "$UNITY_PROJECT_PATH/.git"
|
||||
fi
|
||||
|
||||
if [ -d "$UNITY_PROJECT_PATH/.github" ]; then
|
||||
echo "Removing .github folder."
|
||||
rm -rf "$UNITY_PROJECT_PATH/.github"
|
||||
fi
|
||||
|
||||
if [ -f "$UNITY_PROJECT_PATH/_activate-license" ]; then
|
||||
echo "Removing _activate-license file."
|
||||
rm -f "$UNITY_PROJECT_PATH/_activate-license"
|
||||
fi
|
||||
|
||||
ls -a "$UNITY_PROJECT_PATH"
|
||||
echo ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user