From 4c5b41b975e35f60a75b306ec06315c6770716ec Mon Sep 17 00:00:00 2001 From: sruthikeerthi <73967733+sruke@users.noreply.github.com> Date: Tue, 3 Dec 2024 15:55:02 -0800 Subject: [PATCH] Support long paths (#3049) Co-authored-by: Sruthi Keerthi Rangavajhula (from Dev Box) --- .github/workflows/dotnetcore.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 81e449eeea..16328cc5d0 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -24,8 +24,13 @@ jobs: build: runs-on: windows-latest continue-on-error: false + name: "Build and run unit tests" steps: + - name: Set git core.longpaths flag + run: | + git config --system core.longpaths true + - name: Checkout repository uses: actions/checkout@v4.1.1 @@ -36,7 +41,7 @@ jobs: - name: Strong name bypass run: | - regedit /s .\build\strongNameBypass.reg + regedit /s .\build\strongNameBypass.reg - name: Run the tests run: dotnet test Wilson.sln --collect:"XPlat Code Coverage" --settings:./build/CodeCoverage.runsettings