Skip to content

Commit

Permalink
update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
fszlin committed May 30, 2021
1 parent 1f81245 commit 9cbae8f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,28 @@ stages:

- template: scripts/build.yml
parameters:
name: Linux_netstandard20
displayName: Linux - netstandard2.0
framework: netstandard2.0
appFramework: netcoreapp3.1
name: Linux_net50
displayName: Linux - net5.0
framework: net5.0
appFramework: net5.0
pool:
vmImage: 'ubuntu-latest'

- template: scripts/build.yml
parameters:
name: macOS_netstandard20
displayName: macOS - netstandard2.0
framework: netstandard2.0
appFramework: netcoreapp3.1
name: macOS_net50
displayName: macOS - net5.0
framework: net5.0
appFramework: net5.0
pool:
vmImage: 'macOS-latest'

- template: scripts/build.yml
parameters:
name: Windows_netstandard20
displayName: Windows - netstandard2.0
framework: netstandard2.0
appFramework: netcoreapp3.1
name: Windows_net50
displayName: Windows - net5.0
framework: net5.0
appFramework: net5.0
pool:
vmImage: 'windows-latest'

Expand Down
8 changes: 4 additions & 4 deletions scripts/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
steps:

- task: UseDotNet@2
displayName: 'Add dotnet 2.x'
displayName: 'Add dotnet 3.x'
inputs:
packageType: 'sdk'
version: '2.x'
version: '3.x'

- task: UseDotNet@2
displayName: 'Add dotnet 3.x'
displayName: 'Add dotnet 5.x'
inputs:
packageType: 'sdk'
version: '3.x'
version: '5.x'

- task: DotNetCoreCLI@2
displayName: 'Restore dotnet tool'
Expand Down

0 comments on commit 9cbae8f

Please sign in to comment.