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.
pull/70/head
Eric Erhardt 2022-04-14 12:33:32 -05:00 committed by GitHub
parent cefa2600d8
commit 3a22929dfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ jobs:
shell: pwsh shell: pwsh
run: | run: |
$ProgressPreference = 'SilentlyContinue' $ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest https://raw.githubusercontent.com/dotnet/maui/main/NuGet.config -OutFile 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 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 - name: build Microsoft.NetConf2021.Maui.csproj
shell: pwsh shell: pwsh