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

Commit c072e19

Browse files
committed
Don't run macOS on release
1 parent f412dbf commit c072e19

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

azure-pipelines.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ variables:
1515
GIT_SHA: $(Build.SourceVersion)
1616
GIT_BRANCH_NAME: $(Build.SourceBranchName)
1717
AREA_PATH: 'DevDiv\Xamarin SDK\Build and Tools'
18+
release: true
1819

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

0 commit comments

Comments
 (0)