Skip to content

Commit

Permalink
Explicitly add nuget.org to package sources
Browse files Browse the repository at this point in the history
  • Loading branch information
egil committed Apr 11, 2021
1 parent d5b4c94 commit 776a8c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ jobs:

- name: Running unit tests (windows only)
if: matrix.os == 'windows-latest'
run: dotnet test -c Debug --framework ${{ matrix.framework }}
run: |
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org --configfile $env:APPDATA\NuGet\NuGet.Config
dotnet test -c Debug --framework ${{ matrix.framework }}
- name: Upload coverage to Codecov
if: matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit 776a8c0

Please sign in to comment.