Skip to content

Commit

Permalink
Conditioning .NET Core 2.0 SDK on Release build in windows.yml pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kimlaine committed Apr 29, 2020
1 parent 625c899 commit 3514838
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pipelines/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ steps:
outputFormat: sarif
debugMode: false

- task: UseDotNet@2
displayName: 'Get .NET Core 2.0 SDK'
inputs:
packageType: 'sdk'
version: '2.0.x'
- ${{ if eq(parameters.configuration, 'Release') }}:
- task: UseDotNet@2
displayName: 'Get .NET Core 2.0 SDK'
inputs:
packageType: 'sdk'
version: '2.0.x'

- task: UseDotNet@2
displayName: 'Get .NET Core 3.1 SDK'
Expand Down

0 comments on commit 3514838

Please sign in to comment.