Skip to content

Commit efcd757

Browse files
authored
Merge pull request #592 from xamarin/workloads-rollback-files
Using latest Workloads
2 parents 6b14e79 + a2a6580 commit efcd757

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

azure-pipelines.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ variables:
1010
AndroidXMigrationVersion: 1.0.10
1111
BootsVersion: 1.1.0.712-preview2
1212
DotNetVersion: 6.0.300
13+
XcodeVersion: 13.3.1
1314
DotNet6Source: https://aka.ms/dotnet6/nuget/index.json
1415
NuGetOrgSource: https://api.nuget.org/v3/index.json
15-
XamarinDotNetWorkloadSource: https://aka.ms/dotnet/maui/rc.3.json
16-
LegacyXamarinAndroidPkg: https://aka.ms/xamarin-android-commercial-d17-2-macos
17-
LegacyXamarinAndroidVsix: https://aka.ms/xamarin-android-commercial-d17-2-windows
16+
XamarinDotNetWorkloadSource: workloads.json # or url (check for recent versions - redth)
17+
# https://aka.ms/dotnet/maui/6.0.400.json
18+
# matching builds
19+
LegacyXamarinAndroidPkg: https://dl.internalx.com/vsts-devdiv/Xamarin.Android/public/6454390/6.0.4xx/0b8d593a61bb49120fdf817e8dfdbc4b33937772/xamarin.android-12.3.99.117.pkg
20+
LegacyXamarinAndroidVsix: https://dl.internalx.com/vsts-devdiv/Xamarin.Android/public/6454390/6.0.4xx/0b8d593a61bb49120fdf817e8dfdbc4b33937772/Xamarin.Android.Sdk-12.3.99.117.vsix
1821
BUILD_NUMBER: $(Build.BuildNumber)
1922
BUILD_COMMIT: $(Build.SourceVersion)
2023
PRE_RESTORE_PROJECTS: true # Windows is having an issue on CI right now
@@ -40,9 +43,9 @@ jobs:
4043
areaPath: 'DevDiv\VS Client - Runtime SDKs\Android'
4144
macosImage: macOS-12 # the name of the macOS VM image (BigSur)
4245
windowsAgentPoolName: android-win-2022
43-
xcode: 13.3.1
44-
dotnet: '6.0.300' # the version of .NET Core to use
45-
dotnetStable: '6.0.300' # the stable version of .NET Core to use
46+
xcode: $(XcodeVersion)
47+
dotnet: $(DotNetVersion) # the version of .NET Core to use
48+
dotnetStable: $(DotNetVersion) # the stable version of .NET Core to use
4649
initSteps:
4750
- task: UseDotNet@2
4851
displayName: install .NET $(DotNetVersion)
@@ -64,7 +67,7 @@ jobs:
6467
dotnet tool update --global Cake.Tool
6568
dotnet tool update --global boots --version $(BootsVersion)
6669
boots $(LegacyXamarinAndroidPkg)
67-
sudo xcode-select -s "/Applications/Xcode_13.3.1.app"
70+
sudo xcode-select -s "/Applications/Xcode_$(XcodeVersion).app"
6871
sudo xcode-select -p
6972
condition: eq(variables['System.JobName'], 'macos')
7073
- pwsh: |

workloads.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"microsoft.net.sdk.android": "32.0.447/6.0.400",
3+
"microsoft.net.sdk.ios": "15.4.442/6.0.400",
4+
"microsoft.net.sdk.maccatalyst": "15.4.442/6.0.400",
5+
"microsoft.net.sdk.macos": "12.3.442/6.0.400",
6+
"microsoft.net.sdk.maui": "6.0.424/6.0.400",
7+
"microsoft.net.sdk.tvos": "15.4.442/6.0.400",
8+
"microsoft.net.workload.mono.toolchain": "6.0.7/6.0.300",
9+
"microsoft.net.workload.emscripten": "6.0.4/6.0.300"
10+
}

0 commit comments

Comments
 (0)