mirror of
https://github.com/actions/runner-images.git
synced 2026-01-04 01:03:18 +08:00
[ubuntu] Refactor android sdk build script (#8980)
This commit is contained in:
committed by
GitHub
parent
d4f6993ac9
commit
4d88245a29
@@ -54,11 +54,6 @@ IsPackageInstalled() {
|
||||
dpkg -S $1 &> /dev/null
|
||||
}
|
||||
|
||||
verlte() {
|
||||
sortedVersion=$(printf "$1\n$2\n" | sort -V | head -n1)
|
||||
[ "$1" = "$sortedVersion" ]
|
||||
}
|
||||
|
||||
get_toolset_value() {
|
||||
local toolset_path="/imagegeneration/installers/toolset.json"
|
||||
local query=$1
|
||||
|
||||
Reference in New Issue
Block a user