fix: Bumps source generator to netstandard2.1 (#874)

This commit is contained in:
Kamron Batman 2021-12-04 11:58:59 -08:00 committed by GitHub
parent 08baf3c35d
commit 7da6cec27e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 20 deletions

View file

@ -14,11 +14,6 @@ jobs:
vmImage: 'windows-latest'
steps:
- task: UseDotNet@2
displayName: 'Install .NET 5'
inputs:
packageType: sdk
version: 5.0.403
- task: UseDotNet@2
displayName: 'Install .NET 6'
inputs:
@ -27,7 +22,7 @@ jobs:
- task: NuGetAuthenticate@0
- script: ./publish.cmd Release win
displayName: 'Build'
- script: dotnet test --no-restore --framework net6.0
- script: dotnet test --no-restore
displayName: 'Test'
- job: BuildLinux
@ -46,7 +41,7 @@ jobs:
# containerImage: amd64/buildpack-deps:bullseye
# os: debian.11-x64
'Ubuntu 20':
containerImage: mcr.microsoft.com/dotnet/sdk:5.0-focal
containerImage: mcr.microsoft.com/dotnet/sdk:6.0-focal
os: ubuntu.20.04
'Fedora 32':
containerImage: fedora:32
@ -63,11 +58,6 @@ jobs:
container: $[ variables['containerImage'] ]
steps:
- task: UseDotNet@2
displayName: 'Install .NET 5'
inputs:
packageType: sdk
version: 5.0.403
- task: UseDotNet@2
displayName: 'Install .NET 6'
inputs:
@ -76,5 +66,5 @@ jobs:
- task: NuGetAuthenticate@0
- script: ./publish.cmd Release $(os)
displayName: 'Build'
- script: dotnet test --no-restore --framework net6.0
- script: dotnet test --no-restore
displayName: 'Test'