diff --git a/eng/testing/github-ci-trigger-patterns.txt b/eng/testing/github-ci-trigger-patterns.txt index db822dde3ff..c01b6f6c20c 100644 --- a/eng/testing/github-ci-trigger-patterns.txt +++ b/eng/testing/github-ci-trigger-patterns.txt @@ -54,3 +54,8 @@ Aspire-Core.slnf .github/workflows/tests-quarantine.yml .github/workflows/update-*.yml .github/workflows/auto-rerun-transient-ci-failures.* + +# Scripts not used on CI +start-code.sh +localhive.* +dogfood.sh diff --git a/localhive.sh b/localhive.sh index 7f0dcff390c..acb13558e4e 100755 --- a/localhive.sh +++ b/localhive.sh @@ -453,8 +453,8 @@ if [[ $SKIP_CLI -eq 0 ]]; then fi mkdir -p "$CLI_BIN_DIR" - # Copy all files from the publish directory (CLI and its dependencies) - if ! cp -f "$CLI_PUBLISH_DIR"/* "$CLI_BIN_DIR"/; then + # Copy all files and directories from the publish directory (CLI and its dependencies). + if ! cp -Rf "$CLI_PUBLISH_DIR"/. "$CLI_BIN_DIR"/; then error "Failed to copy CLI files from $CLI_PUBLISH_DIR to $CLI_BIN_DIR" exit 1 fi