Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Don't run macOS on release
Browse files Browse the repository at this point in the history
  • Loading branch information
rmarinho committed Mar 4, 2022
1 parent f412dbf commit c072e19
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ variables:
GIT_SHA: $(Build.SourceVersion)
GIT_BRANCH_NAME: $(Build.SourceBranchName)
AREA_PATH: 'DevDiv\Xamarin SDK\Build and Tools'
release: true

resources:
repositories:
Expand Down Expand Up @@ -42,7 +43,9 @@ stages:
windowsImage: windows-2019
areaPath: 'DevDiv\Xamarin SDK'
masterBranchName: 'main'
cakeTarget: ci-release
${{ if eq(variables['release'], 'true') }}: #we are shipping our product
cakeTarget: ci-release # We just want to build the library and nuget
macosImage: '' # We don't need the macOS build
preBuildSteps:
- pwsh: |
$pr = "pr." + $env:SYSTEM_PULLREQUEST_PULLREQUESTNUMBER
Expand Down

0 comments on commit c072e19

Please sign in to comment.