diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 49dd019fb..2c7ce03fd 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -38,6 +38,8 @@ jobs: xcode-version: 13 # set the latest available Xcode 13 - name: Prepare settings.json run: mv -f ${{ github.workspace }}/Covid19Radar/Covid19Radar/settings_template.json ${{ github.workspace }}/Covid19Radar/Covid19Radar/settings.json + - name: Workaround macos-latest(20220614.2) issue + run: rm ~/.config/NuGet/NuGet.Config - name: Deploy nuget packages - ${{ matrix.Configuration }} run: cp -Force ${{ github.workspace }}/TempNugetFeed/${{ matrix.Configuration }}/*.nupkg ${{ github.workspace }}/TempNugetFeed/ | true - name: Build iOS Project - ${{ matrix.Configuration }} diff --git a/.github/workflows/CIserver.yml b/.github/workflows/CIserver.yml index 32c3af59f..5e22e7970 100644 --- a/.github/workflows/CIserver.yml +++ b/.github/workflows/CIserver.yml @@ -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:RestoreConfigFile=${{ github.workspace }}/Nuget.config /p:Configuration=${{ matrix.Configuration }} + run: msbuild ${{ github.workspace }}/Covid19Radar.Functions.sln /restore /t:Build /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: diff --git a/Nuget.config b/Nuget.config index 846ec155b..b1eb6ad04 100644 --- a/Nuget.config +++ b/Nuget.config @@ -2,7 +2,6 @@ -