|
59 | 59 | run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
|
60 | 60 | - name: PodLibLint Storage Cron
|
61 | 61 | run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseDynamicLinks.podspec --platforms=ios ${{ matrix.flags }} --allow-warnings
|
62 |
| - |
63 |
| - quickstart: |
64 |
| - # Don't run on private repo unless it is a PR. |
65 |
| - if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' |
66 |
| - |
67 |
| - env: |
68 |
| - plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }} |
69 |
| - signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }} |
70 |
| - runs-on: macos-15 |
71 |
| - steps: |
72 |
| - - uses: actions/checkout@v4 |
73 |
| - - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1 |
74 |
| - - name: Xcode |
75 |
| - run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer |
76 |
| - - name: Setup quickstart |
77 |
| - run: scripts/setup_quickstart.sh DynamicLinks |
78 |
| - - name: Install Secret GoogleService-Info.plist |
79 |
| - run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-dynamiclinks.plist.gpg \ |
80 |
| - quickstart-ios/dynamiclinks/GoogleService-Info.plist "$plist_secret" |
81 |
| - - name: Update Environment Variable For DynamicLinks |
82 |
| - run: | |
83 |
| - sed -i '' 's#DYNAMIC_LINK_DOMAIN#https://qpf6m.app.goo.gl#' quickstart-ios/dynamiclinks/DynamicLinksExample/DynamicLinksExample.entitlements |
84 |
| - sed -i '' 's#YOUR_DOMAIN_URI_PREFIX";#https://qpf6m.app.goo.gl";#' quickstart-ios/dynamiclinks/DynamicLinksExample/ViewController.m |
85 |
| - sed -i '' 's#YOUR_DOMAIN_URI_PREFIX";#https://qpf6m.app.goo.gl";#' quickstart-ios/dynamiclinks/DynamicLinksExampleSwift/ViewController.swift |
86 |
| - - name: Test objc quickstart |
87 |
| - run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks false) |
88 |
| - - name: Test swift quickstart |
89 |
| - if: ${{ always() }} |
90 |
| - run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks false swift) |
91 |
| - |
92 |
| - quickstart-ftl-cron-only: |
93 |
| - # Don't run on private repo. |
94 |
| - if: github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule' |
95 |
| - |
96 |
| - env: |
97 |
| - plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }} |
98 |
| - signin_secret: ${{ secrets.GHASecretsGPGPassphrase1 }} |
99 |
| - runs-on: macos-15 |
100 |
| - steps: |
101 |
| - - uses: actions/checkout@v4 |
102 |
| - - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1 |
103 |
| - - uses: actions/setup-python@v5 |
104 |
| - with: |
105 |
| - python-version: '3.11' |
106 |
| - - name: Xcode |
107 |
| - run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer |
108 |
| - - name: Setup quickstart |
109 |
| - run: scripts/setup_quickstart.sh DynamicLinks |
110 |
| - - name: Install Secret GoogleService-Info.plist |
111 |
| - run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/qs-dynamiclinks.plist.gpg \ |
112 |
| - quickstart-ios/dynamiclinks/GoogleService-Info.plist "$plist_secret" |
113 |
| - - name: Update Environment Variable For DynamicLinks |
114 |
| - run: | |
115 |
| - sed -i '' 's#DYNAMIC_LINK_DOMAIN#https://qpf6m.app.goo.gl#' quickstart-ios/dynamiclinks/DynamicLinksExample/DynamicLinksExample.entitlements |
116 |
| - sed -i '' 's#YOUR_DOMAIN_URI_PREFIX";#https://qpf6m.app.goo.gl";#' quickstart-ios/dynamiclinks/DynamicLinksExample/ViewController.m |
117 |
| - sed -i '' 's#YOUR_DOMAIN_URI_PREFIX";#https://qpf6m.app.goo.gl";#' quickstart-ios/dynamiclinks/DynamicLinksExampleSwift/ViewController.swift |
118 |
| - # - name: Build objc quickstart |
119 |
| - # run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh DynamicLinks) |
120 |
| - - name: Build swift quickstart |
121 |
| - if: ${{ always() }} |
122 |
| - run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart_ftl.sh DynamicLinks swift) |
123 |
| - - id: ftl_test |
124 |
| - uses: FirebaseExtended/github-actions/[email protected] |
125 |
| - with: |
126 |
| - credentials_json: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_CREDENTIALS }} |
127 |
| - testapp_dir: quickstart-ios/build-for-testing |
128 |
| - test_type: "xctest" |
0 commit comments