File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -164,12 +164,9 @@ jobs:
164164 env :
165165 ALLOW_WARNINGS : ${{ matrix.allowwarnings }}
166166 run : |
167- [[ "$ALLOW_WARNINGS" == "true" ]] && ALLOWWARNINGS=true
168167 cd scripts/create_spec_repo/
169168 swift build
170169 pod repo add --silent "${local_repo}" https://"$botaccess"@github.com/Firebase/SpecsTesting.git
171- # ${ALLOWWARNINGS:+--allow-warnings} will add --allow-warnings to the
172- # command if ${ALLOWWARNINGS} is not null.
173170 export BOT_TOKEN="${botaccess}"
174171 "${GITHUB_WORKSPACE}/scripts/third_party/travis/retry.sh" .build/debug/spec-repo-builder \
175172 --sdk-repo "${local_sdk_repo_dir}" \
@@ -178,7 +175,7 @@ jobs:
178175 --github-account Firebase \
179176 --pod-sources "https://${BOT_TOKEN}@github.com/Firebase/SpecsTesting" "https://github.com/firebase/SpecsDev.git" "https://github.com/firebase/SpecsStaging.git" "https://github.com/CocoaPods/Specs.git" \
180177 --include-pods "${targeted_pod}" \
181- --keep-repo "${ALLOWWARNINGS :+--allow-warnings}"
178+ --keep-repo ${ALLOW_WARNINGS :+--allow-warnings}
182179 - name : Clean Artifacts
183180 if : ${{ always() }}
184181 run : pod repo remove "${local_repo}"
You can’t perform that action at this time.
0 commit comments