Skip to content

Commit

Permalink
Merge pull request #4 from actions/master
Browse files Browse the repository at this point in the history
Get the last changes to the fork
  • Loading branch information
andy-mishechkin authored Apr 21, 2020
2 parents 87e7104 + 6b24b4c commit 8bf608b
Show file tree
Hide file tree
Showing 18 changed files with 204 additions and 231 deletions.
4 changes: 2 additions & 2 deletions images/linux/scripts/installers/1604/android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ else
exit 1
fi

# Add required permissions
chmod -R a+X ${ANDROID_SDK_ROOT}

# Install the following SDKs and build tools, passing in "y" to accept licenses.
echo "y" | ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager \
"ndk-bundle" \
"ndk;20.0.5594570" \
"platform-tools" \
"platforms;android-29" \
"platforms;android-28" \
Expand Down Expand Up @@ -161,6 +162,5 @@ DocumentInstalledItem "Android SDK Build-Tools 20.0.0"
DocumentInstalledItem "Android SDK Build-Tools 19.1.0"
DocumentInstalledItem "Android SDK Build-Tools 17.0.0"
DocumentInstalledItem "Android NDK $(cat ${ANDROID_SDK_ROOT}/ndk-bundle/source.properties 2>&1 | grep Pkg.Revision | cut -d ' ' -f 3)"
DocumentInstalledItem "Android NDK 20.0.5594570"
DocumentInstalledItem "Android ConstraintLayout 1.0.2"
DocumentInstalledItem "Android ConstraintLayout 1.0.1"
5 changes: 3 additions & 2 deletions images/linux/scripts/installers/1804/android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ wget -O android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux
unzip android-sdk.zip -d ${ANDROID_SDK_ROOT}
rm -f android-sdk.zip

# Add required permissions
chmod -R a+X ${ANDROID_SDK_ROOT}

# Check sdk manager installation
/usr/local/lib/android/sdk/tools/bin/sdkmanager --list 1>/dev/null
if [ $? -eq 0 ]
Expand All @@ -40,7 +43,6 @@ fi
# Install the following SDKs and build tools, passing in "y" to accept licenses.
echo "y" | ${ANDROID_SDK_ROOT}/tools/bin/sdkmanager \
"ndk-bundle" \
"ndk;20.0.5594570" \
"platform-tools" \
"platforms;android-29" \
"platforms;android-28" \
Expand Down Expand Up @@ -150,4 +152,3 @@ DocumentInstalledItem "Android SDK Build-Tools 20.0.0"
DocumentInstalledItem "Android SDK Build-Tools 19.1.0"
DocumentInstalledItem "Android SDK Build-Tools 17.0.0"
DocumentInstalledItem "Android NDK $(cat ${ANDROID_SDK_ROOT}/ndk-bundle/source.properties 2>&1 | grep Pkg.Revision | cut -d ' ' -f 3)"
DocumentInstalledItem "Android NDK 20.0.5594570"
3 changes: 1 addition & 2 deletions images/win/scripts/ImageHelpers/ImageHelpers.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ Export-ModuleMember -Function @(
'Add-MachinePathItem'
'Get-SystemVariable'
'Set-SystemVariable'
'Install-MSI'
'Install-EXE'
'Install-Binary'
'Get-ToolcachePackages'
'Get-ToolsByName'
'Add-ContentToMarkdown'
Expand Down
Loading

0 comments on commit 8bf608b

Please sign in to comment.