mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
add functions
This commit is contained in:
@@ -91,4 +91,9 @@ get_latest_xcode_from_toolset() {
|
||||
|
||||
get_default_xcode_from_toolset() {
|
||||
echo $(get_toolset_value '.xcode.default')
|
||||
}
|
||||
|
||||
verlte() {
|
||||
sortedVersion=$(echo -e "$1\n$2" | sort -V | head -n1)
|
||||
[ "$1" = "$sortedVersion" ]
|
||||
}
|
||||
Reference in New Issue
Block a user