dynamiclinks.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. name: dynamiclinks
  2. on:
  3. pull_request:
  4. paths:
  5. - 'FirebaseDynamicLinks**'
  6. - '.github/workflows/dynamiclinks.yml'
  7. - 'Gemfile'
  8. schedule:
  9. # Run every day at 11pm (PST) - cron uses UTC times
  10. - cron: '0 7 * * *'
  11. jobs:
  12. pod_lib_lint:
  13. runs-on: macOS-latest
  14. steps:
  15. - uses: actions/checkout@v2
  16. - name: Setup Bundler
  17. run: scripts/setup_bundler.sh
  18. - name: FirebaseDynamicLinks
  19. run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseDynamicLinks.podspec
  20. dynamiclinks-cron-only:
  21. runs-on: macos-latest
  22. if: github.event_name == 'schedule'
  23. strategy:
  24. matrix:
  25. flags: [
  26. '--use-modular-headers',
  27. '--use-libraries'
  28. ]
  29. needs: pod_lib_lint
  30. steps:
  31. - uses: actions/checkout@v2
  32. - name: Setup Bundler
  33. run: scripts/setup_bundler.sh
  34. - name: PodLibLint Storage Cron
  35. run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseDynamicLinks.podspec --platforms=ios ${{ matrix.flags }}