3636 # default: 'main' # TODO: Revert to main before merging.
3737 default : ' nc/remove-objc-qs' # 'nc/quickstarts'
3838
39- # Whether to test the legacy version of the quickstart.
40- is_legacy :
41- type : boolean
42- required : false
43- default : false
44-
4539 # The path to the encrypted `GoogleService-Info.plist` file.
4640 plist_src_path :
4741 type : string
7266 if : (github.repository == 'firebase/firebase-ios-sdk' && github.event_name == 'schedule') || contains(fromJSON('["pull_request", "workflow_dispatch"]'), github.event_name)
7367 env :
7468 plist_secret : ${{ secrets.plist_secret }}
75- LEGACY : ${{ inputs.is_legacy && true || '' }}
7669 QUICKSTART_BRANCH : ${{ inputs.quickstart_branch }}
7770 runs-on : macos-15
7871 steps :
@@ -90,16 +83,20 @@ jobs:
9083 ${{ inputs.plist_src_path }} \
9184 ${{ inputs.plist_dst_path }} \
9285 "$plist_secret"
93- - name : Build ${{ inputs.product }} Quickstart (${{ inputs.is_legacy && 'Legacy' || 'Non-Legacy' }})
94- uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
95- with :
96- timeout_minutes : 15
97- max_attempts : 3
98- retry_wait_seconds : 120
99- command : |
100- SPM=true DIR=${{ inputs.product }} scripts/test_quickstart.sh \
86+ - name : Build ${{ inputs.product }} Quickstart
87+ run : |
88+ SPM=true DIR=${{ inputs.product }} scripts/test_quickstart.sh \
10189 ${{ inputs.product }} \
10290 ${{ inputs.run_tests }} \
91+ # uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
92+ # with:
93+ # timeout_minutes: 15
94+ # max_attempts: 3
95+ # retry_wait_seconds: 120
96+ # command: |
97+ # SPM=true DIR=${{ inputs.product }} scripts/test_quickstart.sh \
98+ # ${{ inputs.product }} \
99+ # ${{ inputs.run_tests }} \
103100 # Failure sequence to upload artifact.
104101 - id : lowercase_product
105102 if : ${{ failure() }}
0 commit comments