@@ -453,56 +453,55 @@ jobs:
453453 name : quickstart_artifacts_dynamiclinks
454454 path : quickstart-ios/
455455
456- # quickstart_framework_firestore:
457- # # Don't run on private repo.
458- # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
459- # needs: package-head
460- # env:
461- # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
462- # signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
463- # SDK: "Firestore"
464- # strategy:
465- # matrix:
466- # # TODO: Building FirebaseUI fails on Xcode 15 because it needs to sign the resources.
467- # os: [macos-13]
468- # artifact: [Firebase-actions-dir, Firebase-actions-dir-dynamic]
469- # xcode: [Xcode_15.2]
470- # runs-on: ${{ matrix.os }}
471- # steps:
472- # - uses: actions/checkout@v4
473- # - name: Get framework dir
474- # uses: actions/download-artifact@v4
475- # with:
476- # name: ${{ matrix.artifact }}
477- # - uses: ruby/setup-ruby@v1
478- # - name: Setup Bundler
479- # run: ./scripts/setup_bundler.sh
480- # - name: Move frameworks
481- # run: |
482- # mkdir -p "${HOME}"/ios_frameworks/
483- # find "${GITHUB_WORKSPACE}" -name "Firebase*latest.zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
484- # - uses: actions/checkout@v4
485- # - name: Setup quickstart
486- # run: SAMPLE="$SDK" TARGET="${SDK}Example" NON_FIREBASE_SDKS="SDWebImage FirebaseAuthUI FirebaseEmailAuthUI" scripts/setup_quickstart_framework.sh \
487- # "${HOME}"/ios_frameworks/Firebase/NonFirebaseSDKs/* \
488- # "${HOME}"/ios_frameworks/Firebase/FirebaseFirestore/* \
489- # "${HOME}"/ios_frameworks/Firebase/FirebaseAuth/* \
490- # "${HOME}"/ios_frameworks/Firebase/FirebaseAnalytics/*
491- # - name: Xcode
492- # run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
493- # - name: Install Secret GoogleService-Info.plist
494- # run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-firestore.plist.gpg \
495- # quickstart-ios/firestore/GoogleService-Info.plist "$plist_secret"
496- # - name: Test Quickstart
497- # run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
498- # - name: Remove data before upload
499- # if: ${{ failure() }}
500- # run: scripts/remove_data.sh firestore
501- # - uses: actions/upload-artifact@v4
502- # if: ${{ failure() }}
503- # with:
504- # name: quickstart_artifacts_firestore
505- # path: quickstart-ios/
456+ quickstart_framework_firestore :
457+ # Don't run on private repo.
458+ if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
459+ needs : package-head
460+ env :
461+ plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
462+ signin_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
463+ SDK : " Firestore"
464+ strategy :
465+ matrix :
466+ os : [macos-13]
467+ artifact : [Firebase-actions-dir, Firebase-actions-dir-dynamic]
468+ xcode : [Xcode_15.2]
469+ runs-on : ${{ matrix.os }}
470+ steps :
471+ - uses : actions/checkout@v4
472+ - name : Get framework dir
473+ uses : actions/download-artifact@v4
474+ with :
475+ name : ${{ matrix.artifact }}
476+ - uses : ruby/setup-ruby@v1
477+ - name : Setup Bundler
478+ run : ./scripts/setup_bundler.sh
479+ - name : Move frameworks
480+ run : |
481+ mkdir -p "${HOME}"/ios_frameworks/
482+ find "${GITHUB_WORKSPACE}" -name "Firebase*latest.zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
483+ - uses : actions/checkout@v4
484+ - name : Setup quickstart
485+ run : SAMPLE="$SDK" TARGET="${SDK}Example" NON_FIREBASE_SDKS="SDWebImage FirebaseAuthUI FirebaseEmailAuthUI" scripts/setup_quickstart_framework.sh \
486+ " ${HOME}" /ios_frameworks/Firebase/NonFirebaseSDKs/* \
487+ " ${HOME}" /ios_frameworks/Firebase/FirebaseFirestore/* \
488+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAuth/* \
489+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAnalytics/*
490+ - name : Xcode
491+ run : sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
492+ - name : Install Secret GoogleService-Info.plist
493+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-firestore.plist.gpg \
494+ quickstart-ios/firestore/GoogleService-Info.plist "$plist_secret"
495+ - name : Test Quickstart
496+ run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
497+ - name : Remove data before upload
498+ if : ${{ failure() }}
499+ run : scripts/remove_data.sh firestore
500+ - uses : actions/upload-artifact@v4
501+ if : ${{ failure() }}
502+ with :
503+ name : quickstart_artifacts_firestore
504+ path : quickstart-ios/
506505
507506 check_framework_firestore_symbols :
508507 # Don't run on private repo.
0 commit comments