File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 32
32
# - https://github.com/firebase/firebase-ios-sdk/actions/runs/17335533279
33
33
description : ' Run ID of a previous successful zip workflow to use for quickstart testing'
34
34
required : false
35
- default : ' '
35
+ default : ' 17965877651 ' # TODO(ncooke3): Revert back to ''.
36
36
37
37
concurrency :
38
38
group : ${{ github.workflow }}-${{ github.head_ref || github.ref }}
Original file line number Diff line number Diff line change @@ -16,10 +16,20 @@ set -xe
16
16
17
17
SDK=" $1 "
18
18
19
+ if [[ -z " $SDK " ]]; then
20
+ echo " Error: SDK name not provided." >&2
21
+ echo " Usage: $0 <SDKName>" >&2
22
+ exit 1
23
+ fi
24
+
19
25
DIR=" ${SDK} "
20
26
21
- if [[ ! -z " $LEGACY " ]]; then
22
- DIR=" ${SDK} /Legacy${SDK} Quickstart"
27
+ TARGET_DIR=" quickstart-ios/${DIR} "
28
+
29
+ if [ ! -d " $TARGET_DIR " ]; then
30
+ echo " Error: Directory '$TARGET_DIR ' not found." >&2
31
+ echo " Please provide a valid SDK name." >&2
32
+ exit 1
23
33
fi
24
34
25
- rm -f quickstart-ios/ " ${DIR } " /GoogleService-Info.plist
35
+ rm -f " ${TARGET_DIR } " /GoogleService-Info.plist
You can’t perform that action at this time.
0 commit comments