@@ -113,36 +113,6 @@ jobs:
113113 # name of.
114114 path : zip_output_dir
115115
116- quickstart_framework_abtesting :
117- needs : package-head
118- if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
119- env :
120- plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
121- SDK : " ABTesting"
122- strategy :
123- matrix :
124- # Temporarily remove the artifact matrix for this test.
125- # artifact: [Firebase-actions-dir, Firebase-actions-dir-dynamic]
126- build-env :
127- - os : macos-15
128- xcode : Xcode_16.4
129- runs-on : ${{ matrix.build-env.os }}
130- steps :
131- - uses : actions/checkout@v4
132-
133- - name : Get ALL framework artifacts (DEBUG)
134- 135- with :
136- # No 'name' is specified, so it will download everything.
137- run-id : ${{ github.event.inputs.zip_run_id }}
138-
139- - name : See what was downloaded
140- run : ls -R
141-
142- # You can comment out the rest of the steps for this test run.
143- # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
144- # ... etc
145-
146116 # quickstart_framework_abtesting:
147117 # needs: package-head
148118 # if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
@@ -151,55 +121,86 @@ jobs:
151121 # SDK: "ABTesting"
152122 # strategy:
153123 # matrix:
154- # artifact: [Firebase-actions-dir, Firebase-actions-dir-dynamic]
124+ # # Temporarily remove the artifact matrix for this test.
125+ # # artifact: [Firebase-actions-dir, Firebase-actions-dir-dynamic]
155126 # build-env:
156127 # - os: macos-15
157128 # xcode: Xcode_16.4
158129 # runs-on: ${{ matrix.build-env.os }}
159130 # steps:
160131 # - uses: actions/checkout@v4
161- # - name: Get framework dir
132+
133+ # - name: Get ALL framework artifacts (DEBUG)
162134163135 # with:
164- # name: ${{ matrix.artifact }}
165- # run-id: ${{ github.event.inputs.zip_run_id || github.run_id }}
166- # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
167- # - name: Xcode
168- # run: sudo xcode-select -s /Applications/${{ matrix.build-env.xcode }}.app/Contents/Developer
169- # - name: Setup Bundler
170- # run: ./scripts/setup_bundler.sh
171- # - name: Move frameworks
172- # run: |
173- # mkdir -p "${HOME}"/ios_frameworks/
174- # find "${GITHUB_WORKSPACE}" -name "Firebase*latest.zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
175- # - uses: actions/checkout@v4
176- # - name: Setup quickstart
177- # env:
178- # LEGACY: true
179- # run: SAMPLE="$SDK" TARGET="${SDK}Example" scripts/setup_quickstart_framework.sh \
180- # "${HOME}"/ios_frameworks/Firebase/FirebaseRemoteConfig/* \
181- # "${HOME}"/ios_frameworks/Firebase/FirebaseAnalytics/FirebaseCore.xcframework \
182- # "${HOME}"/ios_frameworks/Firebase/FirebaseAnalytics/FirebaseCoreInternal.xcframework \
183- # "${HOME}"/ios_frameworks/Firebase/FirebaseAnalytics/FBLPromises.xcframework \
184- # "${HOME}"/ios_frameworks/Firebase/FirebaseAnalytics/FirebaseInstallations.xcframework \
185- # "${HOME}"/ios_frameworks/Firebase/FirebaseAnalytics/GoogleUtilities.xcframework
186- # - name: Install Secret GoogleService-Info.plist
187- # run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-abtesting.plist.gpg \
188- # quickstart-ios/abtesting/GoogleService-Info.plist "$plist_secret"
189- # - name: Test Quickstart
190- # env:
191- # LEGACY: true
192- # run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
193- # - name: Remove data before upload
194- # env:
195- # LEGACY: true
196- # if: ${{ failure() }}
197- # run: scripts/remove_data.sh abtesting
198- # - uses: actions/upload-artifact@v4
199- # if: ${{ failure() }}
200- # with:
201- # name: quickstart_artifacts_abtesting
202- # path: quickstart-ios/
136+ # # No 'name' is specified, so it will download everything.
137+ # run-id: ${{ github.event.inputs.zip_run_id }}
138+
139+ # - name: See what was downloaded
140+ # run: ls -R
141+
142+ # # You can comment out the rest of the steps for this test run.
143+ # # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
144+ # # ... etc
145+
146+ quickstart_framework_abtesting :
147+ needs : package-head
148+ if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
149+ env :
150+ plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
151+ SDK : " ABTesting"
152+ strategy :
153+ matrix :
154+ artifact : [Firebase-actions-dir, Firebase-actions-dir-dynamic]
155+ build-env :
156+ - os : macos-15
157+ xcode : Xcode_16.4
158+ runs-on : ${{ matrix.build-env.os }}
159+ steps :
160+ - uses : actions/checkout@v4
161+ - name : Get framework dir
162+ 163+ with :
164+ name : ${{ matrix.artifact }}
165+ run-id : ${{ github.event.inputs.zip_run_id || github.run_id }}
166+ github-token : ${{ secrets.GITHUB_TOKEN }}
167+ - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
168+ - name : Xcode
169+ run : sudo xcode-select -s /Applications/${{ matrix.build-env.xcode }}.app/Contents/Developer
170+ - name : Setup Bundler
171+ run : ./scripts/setup_bundler.sh
172+ - name : Move frameworks
173+ run : |
174+ mkdir -p "${HOME}"/ios_frameworks/
175+ find "${GITHUB_WORKSPACE}" -name "Firebase*latest.zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
176+ - uses : actions/checkout@v4
177+ - name : Setup quickstart
178+ env :
179+ LEGACY : true
180+ run : SAMPLE="$SDK" TARGET="${SDK}Example" scripts/setup_quickstart_framework.sh \
181+ " ${HOME}" /ios_frameworks/Firebase/FirebaseRemoteConfig/* \
182+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAnalytics/FirebaseCore.xcframework \
183+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAnalytics/FirebaseCoreInternal.xcframework \
184+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAnalytics/FBLPromises.xcframework \
185+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAnalytics/FirebaseInstallations.xcframework \
186+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAnalytics/GoogleUtilities.xcframework
187+ - name : Install Secret GoogleService-Info.plist
188+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-abtesting.plist.gpg \
189+ quickstart-ios/abtesting/GoogleService-Info.plist "$plist_secret"
190+ - name : Test Quickstart
191+ env :
192+ LEGACY : true
193+ run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
194+ - name : Remove data before upload
195+ env :
196+ LEGACY : true
197+ if : ${{ failure() }}
198+ run : scripts/remove_data.sh abtesting
199+ - uses : actions/upload-artifact@v4
200+ if : ${{ failure() }}
201+ with :
202+ name : quickstart_artifacts_abtesting
203+ path : quickstart-ios/
203204
204205 # quickstart_framework_auth:
205206 # needs: package-head
0 commit comments