Skip to content

Commit

Permalink
Attempt to resolve a GitHub CI Actions isue: CI is currently failing …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
jpnoir authored and tritao committed Apr 15, 2021
1 parent eb0d4c1 commit 677991b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ src/generator/generator
*.opensdf
*.pdb
*.config
!nuget.config
*.vcxproj
*.filters
*.sln
Expand Down
6 changes: 6 additions & 0 deletions nuget.config
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 677991b

Please sign in to comment.