Browse Source

Attempt to resolve a GitHub CI Actions isue: CI is currently failing because restore can't find NUnit and friends. The error message and google search indicate that GitHub Actions is only looking in the "Microsoft Visual Studio Offline Packages" cache. Add a nuget.config file to in an attempt to tell GitHub Actions to query nuget.org in addition to the offline cache.

pull/1612/head
Joe Hull 4 years ago committed by João Matos
parent
commit
677991b705
  1. 1
      .gitignore
  2. 6
      nuget.config

1
.gitignore vendored

@ -22,6 +22,7 @@ src/generator/generator @@ -22,6 +22,7 @@ src/generator/generator
*.opensdf
*.pdb
*.config
!nuget.config
*.vcxproj
*.filters
*.sln

6
nuget.config

@ -0,0 +1,6 @@ @@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
Loading…
Cancel
Save