Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
coenm committed Aug 26, 2024
1 parent e384db6 commit 2714229
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 21 deletions.
21 changes: 3 additions & 18 deletions .azuredevops/Pipelines/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .azuredevops/Pipelines/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.100",
"version": "8.0.401",
"rollForward": "latestFeature"
}
}

0 comments on commit 2714229

Please sign in to comment.