|
43 | 43 | - name: PodLibLint Storage Cron
|
44 | 44 | run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseDynamicLinks.podspec --platforms=ios ${{ matrix.flags }}
|
45 | 45 |
|
46 |
| - quickstart_framework: |
47 |
| - env: |
48 |
| - plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }} |
49 |
| - signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }} |
50 |
| - FRAMEWORK_ZIP: "Firebase-actions-dir.zip" |
51 |
| - SDK: "DynamicLinks" |
52 |
| - runs-on: macOS-latest |
53 |
| - # Don't run on private repo. |
54 |
| - if: github.event_name == 'schedule' && github.repository != 'FirebasePrivate/firebase-ios-sdk' |
55 |
| - steps: |
56 |
| - - uses: actions/checkout@v2 |
57 |
| - - name: Pull zip from GCS |
58 |
| - run: scripts/pull_zip_gcloud.sh "$plist_secret" "$FRAMEWORK_ZIP" "${HOME}/ios_frameworks" |
59 |
| - - name: Setup Objc Quickstart |
60 |
| - run: SAMPLE="$SDK" TARGET="${SDK}Example" scripts/setup_quickstart_framework.sh \ |
61 |
| - "${HOME}"/ios_frameworks/Firebase/FirebaseDynamicLinks/* \ |
62 |
| - "${HOME}"/ios_frameworks/Firebase/FirebaseAnalytics/* |
63 |
| - - name: Setup Swift Quickstart |
64 |
| - run: SAMPLE="$SDK" TARGET="${SDK}ExampleSwift" scripts/setup_quickstart_framework.sh |
65 |
| - - name: Update Environment Variable For DynamicLinks |
66 |
| - run: | |
67 |
| - sed -i '' 's#DYNAMIC_LINK_DOMAIN#https://qpf6m.app.goo.gl#' quickstart-ios/dynamiclinks/DynamicLinksExample/DynamicLinksExample.entitlements |
68 |
| - sed -i '' 's#YOUR_DOMAIN_URI_PREFIX";#https://qpf6m.app.goo.gl";#' quickstart-ios/dynamiclinks/DynamicLinksExample/ViewController.m |
69 |
| - sed -i '' 's#YOUR_DOMAIN_URI_PREFIX";#https://qpf6m.app.goo.gl";#' quickstart-ios/dynamiclinks/DynamicLinksExampleSwift/ViewController.swift |
70 |
| - - name: Install Secret GoogleService-Info.plist |
71 |
| - run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-dynamiclinks.plist.gpg \ |
72 |
| - quickstart-ios/dynamiclinks/GoogleService-Info.plist "$plist_secret" |
73 |
| - - name: Install Secret FIREGSignInInfo.h |
74 |
| - run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/FIREGSignInInfo.h.gpg \ |
75 |
| - quickstart-ios/TestUtils/FIREGSignInInfo.h "$signin_secret" |
76 |
| - - name: Test Objc Quickstart |
77 |
| - run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}") |
78 |
| - - name: Test Swift Quickstart |
79 |
| - run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_framework.sh "${SDK}" swift) |
80 |
| - - name: Remove data before upload |
81 |
| - if: ${{ failure() }} |
82 |
| - run: scripts/remove_data.sh dynamiclinks |
83 |
| - - uses: actions/upload-artifact@v2 |
84 |
| - if: ${{ failure() }} |
85 |
| - with: |
86 |
| - name: quickstart_artifacts |
87 |
| - path: quickstart-ios/ |
88 |
| - |
89 | 46 | quickstart:
|
90 | 47 | # Don't run on private repo unless it is a PR.
|
91 | 48 | if: github.repository != 'FirebasePrivate/firebase-ios-sdk' || github.event_name == 'pull_request'
|
|
0 commit comments