Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit c8629c5

Browse files
committed
Allow api-info.xml url override via env var
1 parent 1db688e commit c8629c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var ANDROID_SDK_VERSION = IsRunningOnWindows () ? "v8.0" : "android-26";
5757
var RENDERSCRIPT_FOLDER = "android-8.0.0";
5858

5959
// We grab the previous release's api-info.xml to use as a comparison for this build's generated info to make an api-diff
60-
var BASE_API_INFO_URL = "https://github.com/xamarin/AndroidSupportComponents/releases/download/25.4.0.2/api-info.xml";
60+
var BASE_API_INFO_URL = EnvironmentVariable("MONO_API_INFO_XML_URL") ?? "https://github.com/xamarin/AndroidSupportComponents/releases/download/25.4.0.2/api-info.xml";
6161

6262
var CPU_COUNT = System.Environment.ProcessorCount;
6363
var USE_MSBUILD_ON_MAC = true;

0 commit comments

Comments
 (0)