@@ -82,31 +82,30 @@ jobs:
8282 - name : Unit Tests
8383 run : scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseFunctionsUnit ${{ matrix.target }} spm
8484
85- # TODO: Restore Quickstart when ported for Firebase 9.
86- # quickstart:
87- # # Don't run on private repo unless it is a PR.
88- # if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
89- # env:
90- # plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
91- # signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
92- # LEGACY: true
93- # runs-on: macos-11
85+ quickstart :
86+ # Don't run on private repo unless it is a PR.
87+ if : (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request'
88+ env :
89+ plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
90+ signin_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
91+ LEGACY : true
92+ runs-on : macos-11
9493
95- # steps:
96- # - uses: actions/checkout@v2
97- # - name: Setup quickstart
98- # run: scripts/setup_quickstart.sh functions
99- # - name: install secret googleservice-info.plist
100- # run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-functions.plist.gpg \
101- # quickstart-ios/functions/GoogleService-Info.plist "$plist_secret"
102- # - name: Setup custom URL scheme
103- # run: sed -i '' 's/REVERSED_CLIENT_ID/com.googleusercontent.apps.1025801074639-6p6ebi8amuklcjrto20gvpe295smm8u6/' quickstart-ios/functions/LegacyFunctionsQuickstart/FunctionsExample/Info.plist
104- # - name: Test objc quickstart
105- # run: ([ -z $plist_secret ] ||
106- # scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions true)
107- # - name: Test swift quickstart
108- # run: ([ -z $plist_secret ] ||
109- # scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions true swift)
94+ steps :
95+ - uses : actions/checkout@v2
96+ - name : Setup quickstart
97+ run : scripts/setup_quickstart.sh functions
98+ - name : install secret googleservice-info.plist
99+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-functions.plist.gpg \
100+ quickstart-ios/functions/GoogleService-Info.plist "$plist_secret"
101+ - name : Setup custom URL scheme
102+ run : sed -i '' 's/REVERSED_CLIENT_ID/com.googleusercontent.apps.1025801074639-6p6ebi8amuklcjrto20gvpe295smm8u6/' quickstart-ios/functions/LegacyFunctionsQuickstart/FunctionsExample/Info.plist
103+ - name : Test objc quickstart
104+ run : ([ -z $plist_secret ] ||
105+ scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions true)
106+ - name : Test swift quickstart
107+ run : ([ -z $plist_secret ] ||
108+ scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions true swift)
110109
111110 functions-cron-only :
112111 # Don't run on private repo.
0 commit comments