| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- name: storage
- on:
- pull_request:
- paths:
- - 'FirebaseStorage**'
- - '.github/workflows/storage.yml'
- schedule:
- # Run every day at 11pm (PST) - cron uses UTC times
- - cron: '0 7 * * *'
- jobs:
- storage:
- runs-on: macos-latest
- steps:
- - uses: actions/checkout@v1
- - name: Setup Bundler
- run: scripts/setup_bundler.sh
- - name: Install Secret GoogleService-Info.plist
- env:
- plist_secret: ${{ secrets.StoragePlistSecret }}
- run: ./scripts/decrypt_gha_secret.sh scripts/gha-encrypted/storage-db-plist.gpg \
- FirebaseStorage/Tests/Integration/Resources/GoogleService-Info.plist "$plist_secret"
- - name: BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
- run: scripts/third_party/travis/retry.sh scripts/build.sh Storage all
- pod_lib_lint:
- runs-on: macOS-latest
- strategy:
- matrix:
- target: [ios, tvos, macos]
- steps:
- - uses: actions/checkout@v2
- - name: Setup Bundler
- run: scripts/setup_bundler.sh
- - name: Build and test
- run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorage.podspec --skip-tests --platforms=${{ matrix.target }}
- storage-cron-only:
- runs-on: macos-latest
- if: github.event_name == 'schedule'
- strategy:
- matrix:
- target: [ios, tvos, macos]
- flags: [
- '--skip-tests --use-modular-headers',
- '--skip-tests --use-libraries'
- ]
- needs: pod_lib_lint
- steps:
- - uses: actions/checkout@v2
- - name: Setup Bundler
- run: scripts/setup_bundler.sh
- - name: PodLibLint Storage Cron
- run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseStorage.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
|