From 3a22929dfbd971865bb600ee582d480a64a5e667 Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Thu, 14 Apr 2022 12:33:32 -0500 Subject: [PATCH] Move workload install NuGet.config file so it doesn't overwrite repo's NuGet.config (#67) Since #66 added a NuGet.config to the root of the repo, the GH action is clobbering this file. So when we run in CI we aren't using the same NuGet.config file as a "normal" dev would use. Moving the NuGet.config file used by `workload install` to avoid this conflict. --- .github/workflows/podcast-mobile.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/podcast-mobile.yml b/.github/workflows/podcast-mobile.yml index 3c33b54..a5054fc 100644 --- a/.github/workflows/podcast-mobile.yml +++ b/.github/workflows/podcast-mobile.yml @@ -31,8 +31,8 @@ jobs: shell: pwsh run: | $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest https://raw.githubusercontent.com/dotnet/maui/main/NuGet.config -OutFile NuGet.config - & .\dotnet workload install maui --from-rollback-file https://aka.ms/dotnet/maui/main.json --configfile NuGet.config + Invoke-WebRequest https://raw.githubusercontent.com/dotnet/maui/main/NuGet.config -OutFile maui-main-NuGet.config + & .\dotnet workload install maui --from-rollback-file https://aka.ms/dotnet/maui/main.json --configfile maui-main-NuGet.config - name: build Microsoft.NetConf2021.Maui.csproj shell: pwsh