Skip to content

Commit 5da3835

Browse files
committed
Different options for Swift pod
1 parent 4036ca1 commit 5da3835

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.github/workflows/storage.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ jobs:
137137
matrix:
138138
target: [ios, tvos, macos]
139139
flags: [
140-
'--skip-tests --use-static-frameworks',
141-
'--skip-tests --use-libraries'
140+
'--use-static-frameworks --skip-tests ',
141+
'--use-libraries --skip-tests '
142142
]
143143
needs: pod-lib-lint
144144
steps:
@@ -148,4 +148,22 @@ jobs:
148148
- name: PodLibLint Storage Cron
149149
run: |
150150
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorage.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
151+
152+
storageswift-cron-only:
153+
# Don't run on private repo.
154+
#if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
155+
runs-on: macos-latest
156+
strategy:
157+
matrix:
158+
target: [ios, tvos, macos]
159+
flags: [
160+
'--use-static-frameworks --skip-tests', # Swift pods do not support --use-libraries
161+
]
162+
needs: pod-lib-lint
163+
steps:
164+
- uses: actions/checkout@v2
165+
- name: Setup Bundler
166+
run: scripts/setup_bundler.sh
167+
- name: PodLibLint Storage Cron
168+
run: |
151169
scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorageSwift.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}

0 commit comments

Comments
 (0)