mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-19 00:06:45 +00:00
fix condition
This commit is contained in:
@@ -24,7 +24,7 @@ getXcodeVersionToInstall() {
|
|||||||
|
|
||||||
if [[ $XCODE_VERSION == "12" ]]; then
|
if [[ $XCODE_VERSION == "12" ]]; then
|
||||||
echo "12.0.1"
|
echo "12.0.1"
|
||||||
elif [[ ! $XCODE_VERSION == "12.1" ]]; then
|
elif [[ $XCODE_VERSION == "12.1" ]]; then
|
||||||
echo "12.1.1 Release Candidate"
|
echo "12.1.1 Release Candidate"
|
||||||
elif [[ ! $XCODE_VERSION =~ "_beta" ]]; then
|
elif [[ ! $XCODE_VERSION =~ "_beta" ]]; then
|
||||||
echo "${XCODE_VERSION//_/ }"
|
echo "${XCODE_VERSION//_/ }"
|
||||||
|
|||||||
Reference in New Issue
Block a user