diff --git a/.azuredevops/Pipelines/build.yaml b/.azuredevops/Pipelines/build.yaml index c42faf3e..5a1463ae 100644 --- a/.azuredevops/Pipelines/build.yaml +++ b/.azuredevops/Pipelines/build.yaml @@ -46,9 +46,9 @@ stages: displayName: Update git submodules - task: UseDotNet@2 - displayName: "Use dotnet sdk 8.0.100" + displayName: "Use dotnet sdk 8.0.401" inputs: - version: 8.0.100 + version: 8.0.401 includePreviewVersions: false - script: dotnet --info @@ -144,15 +144,6 @@ stages: - task: SonarCloudPublish@2 displayName: Publish Quality Gate Result - # https://docs.codecov.com/docs/codecov-uploader - # todo fix path - # ./codecov.exe -f "../**/coverag*.cobertura.xml" - # - pwsh: | - # Invoke-WebRequest -Uri https://uploader.codecov.io/latest/windows/codecov.exe -Outfile codecov.exe - # ./codecov.exe -f "$(Agent.TempDirectory)/**/coverage.cobertura.xml" - # displayName: Export coverage to CodeCov - # name: CodeCov - - pwsh: | dotnet tool install --tool-path . dotnet-reportgenerator-globaltool ./reportgenerator "-reports:$(Agent.TempDirectory)/**/coverage.cobertura.xml" "-targetdir:$(Agent.TempDirectory)" "-reporttypes:Cobertura" @@ -163,13 +154,7 @@ stages: displayName: Publish code coverage to devops inputs: codeCoverageTool: Cobertura - summaryFileLocation: '$(Agent.TempDirectory)/Cobertura.xml' - - - pwsh: | - Invoke-WebRequest -Uri https://uploader.codecov.io/latest/windows/codecov.exe -Outfile codecov.exe - ./codecov.exe -f "$(Agent.TempDirectory)\Cobertura.xml" - displayName: Export coverage to CodeCov - name: CodeCov + summaryFileLocation: '$(Agent.TempDirectory)/Cobertura.xml' - task: DotNetCoreCLI@2 displayName: Dotnet Publish RepoM diff --git a/.azuredevops/Pipelines/pull-request.yaml b/.azuredevops/Pipelines/pull-request.yaml index bc1e0158..9d5d6dba 100644 --- a/.azuredevops/Pipelines/pull-request.yaml +++ b/.azuredevops/Pipelines/pull-request.yaml @@ -43,9 +43,9 @@ stages: includePreviewVersions: false - task: UseDotNet@2 - displayName: "Use dotnet sdk 8.0.100" + displayName: "Use dotnet sdk 8.0.401" inputs: - version: 8.0.100 + version: 8.0.401 includePreviewVersions: false - script: dotnet --info diff --git a/global.json b/global.json index 501e79a8..41336fb9 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.100", + "version": "8.0.401", "rollForward": "latestFeature" } } \ No newline at end of file