Skip to content

Commit

Permalink
Test with changed SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
costin-zaharia-sonarsource committed Feb 27, 2024
1 parent 5fd637a commit a2a57c1
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,6 @@ stages:
steps:
- checkout: self

- task: UseDotNet@2
inputs:
packageType: 'sdk'
version: '8.x'

- task: NuGetToolInstaller@1
displayName: "Install NuGet"

Expand Down Expand Up @@ -228,6 +223,12 @@ stages:
includeNuGetOrg: true
arguments: 'install --global CycloneDX'

- task: UseDotNet@2
# Needed by CycloneDX
inputs:
packageType: 'sdk'
version: '8.x'

- task: DotNetCoreCLI@2
displayName: Dotnet generate SBOM
# https://sonarsource.atlassian.net/browse/BUILD-1303
Expand Down Expand Up @@ -255,6 +256,12 @@ stages:
projects: '$(solution)'
arguments: '/m /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /p:configuration=$(BuildConfiguration) /p:platform="$(BuildPlatform)"'

- task: UseDotNet@2
# dotnet 8 cannot find MsBuild 17 (although it is installed)
inputs:
packageType: 'sdk'
version: '6.x'

- powershell: |
. .\scripts\utils.ps1
mkdir $(Build.SourcesDirectory)\coverage\
Expand Down

0 comments on commit a2a57c1

Please sign in to comment.