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 @@ -143,19 +143,16 @@ jobs:
143143 env :
144144 ALLOW_WARNINGS : ${{ matrix.allowwarnings }}
145145 run : |
146- [[ "$ALLOW_WARNINGS" == "true" ]] && ALLOWWARNINGS=true
147146 cd scripts/create_spec_repo/
148147 swift build
149148 pod repo add --silent "${local_repo}" https://"$botaccess"@github.com/Firebase/SpecsReleasing.git
150- # ${ALLOWWARNINGS:+--allow-warnings} will add --allow-warnings to the
151- # command if ${ALLOWWARNINGS} is not null.
152149 export BOT_TOKEN="${botaccess}"
153150 "${GITHUB_WORKSPACE}/scripts/third_party/travis/retry.sh" .build/debug/spec-repo-builder \
154151 --sdk-repo "${local_sdk_repo_dir}" \
155152 --local-spec-repo-name "${local_repo}" \
156153 --pod-sources "https://${BOT_TOKEN}@github.com/Firebase/SpecsReleasing" "https://github.com/firebase/SpecsStaging.git" "https://github.com/CocoaPods/Specs.git" \
157154 --include-pods "${targeted_pod}" \
158- --keep-repo "${ALLOWWARNINGS :+--allow-warnings}"
155+ --keep-repo ${ALLOW_WARNINGS :+--allow-warnings}
159156 - name : Clean Artifacts
160157 if : ${{ always() }}
161158 run : pod repo remove "${local_repo}"
You can’t perform that action at this time.
0 commit comments