Skip to content

Commit 1ec81a9

Browse files
authored
fix(ci): Fix prerelease.yml by removing unneeded lowercasing (#15271)
1 parent 85d91a8 commit 1ec81a9

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/prerelease.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -311,21 +311,13 @@ jobs:
311311
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
312312
- name: Xcode
313313
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
314-
- name: Get lowercase product name.
315-
id: lowercase_product
316-
run: |
317-
lowercase_product=$(echo "${{ matrix.product }}" | tr '[:upper:]' '[:lower:]')
318-
echo "lowercase_product=$lowercase_product" >> $GITHUB_OUTPUT
319314
- name: Setup testing repo and quickstart
320-
run: |
321-
lowercase_product=${{ steps.lowercase_product.outputs.lowercase_product }}
322-
BOT_TOKEN="${botaccess}" scripts/setup_quickstart.sh $lowercase_product prerelease_testing
315+
run: BOT_TOKEN="${botaccess}" scripts/setup_quickstart.sh ${{ matrix.product }} prerelease_testing
323316
- name: Install Secret GoogleService-Info.plist
324317
run: |
325-
lowercase_product = ${{ steps.lowercase_product.outputs.lowercase_product }}
326318
scripts/decrypt_gha_secret.sh \
327-
scripts/gha-encrypted/qs-$lowercase_product.plist.gpg \
328-
quickstart-ios/$lowercase_product/GoogleService-Info.plist \
319+
scripts/gha-encrypted/qs-${{ matrix.product }}.plist.gpg \
320+
quickstart-ios/${{ matrix.product }}/GoogleService-Info.plist \
329321
"$plist_secret"
330322
- name: Run setup command, if needed.
331323
if: matrix.setup_command != ''
@@ -349,9 +341,9 @@ jobs:
349341
# Failure sequence to upload artifact.
350342
- name: Remove data before upload.
351343
if: ${{ failure() }}
352-
run: scripts/remove_data.sh ${{ steps.lowercase_product.outputs.lowercase_product }}
344+
run: scripts/remove_data.sh ${{ matrix.product }}
353345
- uses: actions/upload-artifact@v4
354346
if: ${{ failure() }}
355347
with:
356-
name: quickstart_artifacts_${{ steps.lowercase_product.outputs.lowercase_product }}
348+
name: quickstart_artifacts_${{ matrix.product }}
357349
path: quickstart-ios/

0 commit comments

Comments
 (0)