Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Fix the issue that restoring NuGet packages failed on mac-latest image. #1045

Merged
merged 5 commits into from
Jun 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CIserver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1
- name: msbuild
run: msbuild ${{ github.workspace }}/Covid19Radar.Functions.sln /restore /t:Build /p:Configuration=${{ matrix.Configuration }}
run: msbuild ${{ github.workspace }}/Covid19Radar.Functions.sln /restore /t:Build /p:RestoreConfigFile=${{ github.workspace }}/Nuget.config /p:Configuration=${{ matrix.Configuration }}
- name: Execute Unit Tests
run: dotnet test ${{ github.workspace }}/Covid19Radar.Functions.sln /p:CollectCoverage=true /p:CoverletOutputFormat=opencover --no-build --logger trx --settings ${{ github.workspace }}/Covid19Radar.Functions.runsettings --configuration ${{ matrix.Configuration }} --collect:"XPlat Code Coverage"
env:
Expand Down
1 change: 1 addition & 0 deletions Nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<configuration>
<packageSources>
<add key="MyNuget" value="./TempNugetFeed" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
<activePackageSource>
<add key="All" value="(Aggregate source)" />
Expand Down