Skip to content

Commit a8e4a33

Browse files
authored
fix: Update release.cocoapods.prerelease.yml
1 parent e8361f4 commit a8e4a33

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/release.cocoapods.prerelease.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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}"

0 commit comments

Comments
 (0)