mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
Update xcode-postbuild.sh
This commit is contained in:
@@ -15,11 +15,6 @@ do
|
||||
#add sleep to let CoreSimulatorService to exit
|
||||
sleep 3
|
||||
|
||||
# Version 12.2_beta installed into 12.2 directory and 12.1_GM_seed in 12.1
|
||||
pattern="[0-9]{1,2}.*_"
|
||||
if [[ $XCODE_VERSION =~ $pattern ]] ; then
|
||||
XCODE_VERSION=$(echo $XCODE_VERSION | cut -d"_" -f 1)
|
||||
fi
|
||||
# Select xcode version by default
|
||||
sudo xcode-select -s "/Applications/Xcode_${XCODE_VERSION}.app/Contents/Developer"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user