Skip to content

Commit dff30fe

Browse files
authored
infra: Fix zip's ai artifact name and do not upload service plists (#15492)
1 parent ede8d6e commit dff30fe

File tree

4 files changed

+22
-14
lines changed

4 files changed

+22
-14
lines changed

.github/workflows/common_quickstart.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,17 @@ jobs:
100100
${{ inputs.quickstart_type }}
101101
# Failure sequence to upload artifact.
102102
- id: lowercase_product
103-
if: ${{ failure() }}
103+
if: failure()
104104
run: |
105105
lowercase_product=$(echo "${{ inputs.product }}" | tr '[:upper:]' '[:lower:]')
106106
echo "lowercase_product=$lowercase_product" >> $GITHUB_OUTPUT
107107
- name: Remove data before upload.
108-
if: ${{ failure() }}
108+
if: failure()
109109
run: scripts/remove_data.sh ${{ steps.lowercase_product.outputs.lowercase_product }}
110110
- uses: actions/upload-artifact@v4
111-
if: ${{ failure() }}
111+
if: failure()
112112
with:
113113
name: quickstart_artifacts_${{ steps.lowercase_product.outputs.lowercase_product }}
114-
path: quickstart-ios/
114+
path: |
115+
quickstart-ios/
116+
!quickstart-ios/**/GoogleService-Info.plist

.github/workflows/prerelease_cocoapods.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,10 +340,12 @@ jobs:
340340
command: scripts/test_quickstart.sh ${{ matrix.product }} ${{ matrix.run_tests }}
341341
# Failure sequence to upload artifact.
342342
- name: Remove data before upload.
343-
if: ${{ failure() }}
343+
if: failure()
344344
run: scripts/remove_data.sh ${{ matrix.product }}
345345
- uses: actions/upload-artifact@v4
346-
if: ${{ failure() }}
346+
if: failure()
347347
with:
348348
name: quickstart_artifacts_${{ matrix.product }}
349-
path: quickstart-ios/
349+
path: |
350+
quickstart-ios/
351+
!quickstart-ios/**/GoogleService-Info.plist

.github/workflows/release_cocoapods.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,15 @@ jobs:
237237
retry_wait_seconds: 120
238238
command: scripts/test_quickstart.sh ${{ matrix.product }} ${{ matrix.run_tests }} swift
239239
- name: Remove data before upload
240-
if: ${{ failure() }}
240+
if: failure()
241241
run: scripts/remove_data.sh ${{ matrix.product }}
242242
- uses: actions/upload-artifact@v4
243-
if: ${{ failure() }}
243+
if: failure()
244244
with:
245245
name: quickstart_artifacts_${{ matrix.product }}
246-
path: quickstart-ios/
246+
path: |
247+
quickstart-ios/
248+
!quickstart-ios/**/GoogleService-Info.plist
247249
248250
# TODO: The functions quickstart uses Material which isn't supported by Xcode 15
249251
# functions_quickstart:

.github/workflows/zip.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -509,13 +509,15 @@ jobs:
509509
- name: Test Quickstart
510510
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
511511
- name: Remove data before upload
512-
if: ${{ failure() }}
512+
if: failure()
513513
run: scripts/remove_data.sh firebaseai
514514
- uses: actions/upload-artifact@v4
515-
if: ${{ failure() }}
515+
if: failure()
516516
with:
517-
name: quickstart_artifacts_firebaseai
518-
path: quickstart-ios/
517+
name: quickstart_artifacts_firebaseai_${{ matrix.artifact }}_${{ matrix.build-env.os }}
518+
path: |
519+
quickstart-ios/
520+
!quickstart-ios/**/GoogleService-Info.plist
519521
520522
quickstart_framework_firestore:
521523
needs: packaging_done

0 commit comments

Comments
 (0)