Skip to content

Commit

Permalink
Turn Mac image up to 11
Browse files Browse the repository at this point in the history
  • Loading branch information
bartelink committed Feb 28, 2022
1 parent 367fb21 commit d0e443f
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
displayName: dotnet pack build.proj
env:
BUILD_PR: $(SYSTEM.PULLREQUEST.PULLREQUESTNUMBER)
BUILD_ID: $(BUILD.BUILDNUMBER)
BUILD_ID: $(BUILD.BUILDNUMBER)
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: 'bin/nupkg'
Expand All @@ -42,12 +42,19 @@ jobs:
displayName: dotnet pack
env:
BUILD_PR: $(SYSTEM.PULLREQUEST.PULLREQUESTNUMBER)
BUILD_ID: $(BUILD.BUILDNUMBER)
BUILD_ID: $(BUILD.BUILDNUMBER)

- job: MacOS
pool:
vmImage: 'macOS-latest'
steps:
- task: UseDotNet@2
displayName: 'Install .NET Core sdk'
inputs:
packageType: sdk
version: 6.x
installationPath:
$(Agent.ToolsDirectory)/dotnet
- script: dotnet test build.proj -v n
displayName: dotnet test build.proj
env:
Expand All @@ -62,4 +69,4 @@ jobs:
displayName: dotnet pack
env:
BUILD_PR: $(SYSTEM.PULLREQUEST.PULLREQUESTNUMBER)
BUILD_ID: $(BUILD.BUILDNUMBER)
BUILD_ID: $(BUILD.BUILDNUMBER)

0 comments on commit d0e443f

Please sign in to comment.