mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[macOS] Add Xcode 12.1 GM seed (#1805)
* added Xcode 12.1 GM * removed Xcode 12.1 from Big Sur * fixed Xcode dir setting
This commit is contained in:
@@ -58,6 +58,7 @@ setXcodeDeveloperDirVariables() {
|
||||
for MAJOR_VERSION in "${major_versions[@]}"
|
||||
do
|
||||
LATEST_STABLE_VERSION=$(echo "${stable_xcode_versions[*]}" | grep "${MAJOR_VERSION}" | tail -n 1)
|
||||
LATEST_STABLE_VERSION=$(echo $LATEST_STABLE_VERSION | cut -d"_" -f 1)
|
||||
echo "export XCODE_${MAJOR_VERSION}_DEVELOPER_DIR=/Applications/Xcode_${LATEST_STABLE_VERSION}.app/Contents/Developer" >> "$HOME/.bashrc"
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user