dynamiclinks.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. name: dynamiclinks
  2. permissions:
  3. contents: read
  4. on:
  5. workflow_dispatch:
  6. pull_request:
  7. paths:
  8. - 'FirebaseDynamicLinks**'
  9. - '.github/workflows/dynamiclinks.yml'
  10. - 'Interop/Analytics/Public/*.h'
  11. - '.github/workflows/common.yml'
  12. - '.github/workflows/common_cocoapods.yml'
  13. - 'Gemfile*'
  14. schedule:
  15. # Run every day at 1am (PST) - cron uses UTC times
  16. - cron: '0 9 * * *'
  17. concurrency:
  18. group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
  19. cancel-in-progress: true
  20. jobs:
  21. spm:
  22. strategy:
  23. matrix:
  24. target: [FirebaseAppCheckUnit, FirebaseAppCheckUnitSwift]
  25. uses: ./.github/workflows/common.yml
  26. with:
  27. target: FirebaseDynamicLinks
  28. buildonly_platforms: iOS
  29. platforms: iOS
  30. pod_lib_lint:
  31. uses: ./.github/workflows/common_cocoapods.yml
  32. with:
  33. product: FirebaseDynamicLinks
  34. platforms: iOS # Dynamic Links only supports iOS.
  35. allow_warnings: true
  36. dynamiclinks-cron-only:
  37. # Don't run on private repo.
  38. if: github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk'
  39. runs-on: macos-15
  40. strategy:
  41. matrix:
  42. flags: [
  43. '--use-static-frameworks'
  44. ]
  45. needs: pod_lib_lint
  46. steps:
  47. - uses: actions/checkout@v4
  48. - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
  49. - name: Setup Bundler
  50. run: scripts/setup_bundler.sh
  51. - name: Xcode
  52. run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
  53. - name: PodLibLint Storage Cron
  54. run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseDynamicLinks.podspec --platforms=ios ${{ matrix.flags }} --allow-warnings