Skip to content

Commit 776a8c0

Browse files
committed
Explicitly add nuget.org to package sources
1 parent d5b4c94 commit 776a8c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ jobs:
7575

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

0 commit comments

Comments
 (0)