mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
Freeze NDK 21 on Windows Images (#2499)
This commit is contained in:
@@ -77,6 +77,10 @@ Install-AndroidSDKPackages -AndroidSDKManagerPath $sdkManager `
|
||||
|
||||
# Android NDK root path.
|
||||
$ndkRoot = "$sdkRoot\ndk-bundle"
|
||||
# This changes were added due to incompatibility with android ndk-bundle (ndk;22.0.7026061).
|
||||
# Link issue virtual-environments: https://github.com/actions/virtual-environments/issues/2481
|
||||
# Link issue xamarin-android: https://github.com/xamarin/xamarin-android/issues/5526
|
||||
New-Item -Path $ndkRoot -ItemType SymbolicLink -Value "$sdkRoot\ndk\21.3.6528147"
|
||||
|
||||
if (Test-Path $ndkRoot) {
|
||||
setx ANDROID_HOME $sdkRoot /M
|
||||
|
||||
Reference in New Issue
Block a user