@@ -219,63 +219,62 @@ jobs:
219219 quickstart-ios/authentication/GoogleService-Info.plist "$plist_secret"
220220 - name : Test Swift Quickstart
221221 run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
222+ # TODO: Can this be reusable?
222223 - name : Remove data before upload
223- if : ${{ failure() }}
224224 run : scripts/remove_data.sh authentication
225225 - uses : actions/upload-artifact@v4
226- if : ${{ failure() }}
226+ # if: ${{ failure() }}
227227 with :
228228 name : quickstart_artifacts_auth
229229 path : quickstart-ios/
230230
231- # quickstart_framework_config:
232- # # needs: package-head
233- # # if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
234- # env:
235- # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
236- # SDK: "Config"
237- # strategy:
238- # matrix:
239- # artifact: [Firebase-actions-dir]
240- # build-env:
241- # - os: macos-15
242- # xcode: Xcode_16.4
243- # runs-on: ${{ matrix.build-env.os }}
244- # steps:
245- # - uses: actions/checkout@v4
246- # - name: Get framework dir
247- 248- # with:
249- # name: ${{ matrix.artifact }}
250- # run-id: 17965877651 # ${{ github.event.inputs.zip_run_id || github.run_id }}
251- # github-token: ${{ secrets.GITHUB_TOKEN }}
252- # - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
253- # - name: Xcode
254- # run: sudo xcode-select -s /Applications/${{ matrix.build-env.xcode }}.app/Contents/Developer
255- # - name: Setup Bundler
256- # run: ./scripts/setup_bundler.sh
257- # - name: Move frameworks
258- # run: |
259- # mkdir -p "${HOME}"/ios_frameworks/
260- # find "${GITHUB_WORKSPACE}" -name "Firebase*latest.zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
261- # - name: Setup Swift Quickstart
231+ quickstart_framework_config :
232+ # needs: package-head
233+ # if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
234+ env :
235+ plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
236+ SDK : " Config"
237+ strategy :
238+ matrix :
239+ artifact : [Firebase-actions-dir]
240+ build-env :
241+ - os : macos-15
242+ xcode : Xcode_16.4
243+ runs-on : ${{ matrix.build-env.os }}
244+ steps :
245+ - uses : actions/checkout@v4
246+ - name : Get framework dir
247+ 248+ with :
249+ name : ${{ matrix.artifact }}
250+ run-id : 17965877651 # ${{ github.event.inputs.zip_run_id || github.run_id }}
251+ github-token : ${{ secrets.GITHUB_TOKEN }}
252+ - uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
253+ - name : Xcode
254+ run : sudo xcode-select -s /Applications/${{ matrix.build-env.xcode }}.app/Contents/Developer
255+ - name : Setup Bundler
256+ run : ./scripts/setup_bundler.sh
257+ - name : Move frameworks
258+ run : |
259+ mkdir -p "${HOME}"/ios_frameworks/
260+ find "${GITHUB_WORKSPACE}" -name "Firebase*latest.zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
261+ - name : Setup Swift Quickstart
262262
263- # run: SAMPLE="$SDK" TARGET="${SDK}Example" scripts/setup_quickstart_framework.sh \
264- # "${HOME}"/ios_frameworks/Firebase/FirebaseRemoteConfig/* \
265- # "${HOME}"/ios_frameworks/Firebase/FirebaseAnalytics/*
266- # - name: Install Secret GoogleService-Info.plist
267- # run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-config.plist.gpg \
268- # quickstart-ios/config/GoogleService-Info.plist "$plist_secret"
269- # - name: Test Swift Quickstart
270- # run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
271- # - name: Remove data before upload
272- # if: ${{ failure() }}
273- # run: scripts/remove_data.sh config
274- # # - uses: actions/upload-artifact@v4
275- # # if: ${{ failure() }}
276- # # with:
277- # # name: quickstart_artifacts_config
278- # # path: quickstart-ios/
263+ run : SAMPLE="$SDK" TARGET="${SDK}Example" scripts/setup_quickstart_framework.sh \
264+ " ${HOME}" /ios_frameworks/Firebase/FirebaseRemoteConfig/* \
265+ " ${HOME}" /ios_frameworks/Firebase/FirebaseAnalytics/*
266+ - name : Install Secret GoogleService-Info.plist
267+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-config.plist.gpg \
268+ quickstart-ios/config/GoogleService-Info.plist "$plist_secret"
269+ - name : Test Swift Quickstart
270+ run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}")
271+ - name : Remove data before upload
272+ run : scripts/remove_data.sh config
273+ - uses : actions/upload-artifact@v4
274+ if : ${{ failure() }}
275+ with :
276+ name : quickstart_artifacts_config
277+ path : quickstart-ios/
279278
280279# quickstart_framework_crashlytics:
281280# # needs: package-head
0 commit comments