builds.yml 704 B

123456789101112131415161718192021222324252627282930313233
  1. name: Build GSI for Valid Architectures
  2. on:
  3. push:
  4. branches:
  5. - main
  6. pull_request:
  7. workflow_dispatch:
  8. schedule:
  9. - cron: '0 8 * * *' # Cron uses UTC; run at nightly at midnight PST
  10. jobs:
  11. cron:
  12. runs-on: ${{ matrix.os }}
  13. strategy:
  14. fail-fast: false
  15. matrix:
  16. os: [macos-latest]
  17. steps:
  18. - uses: actions/checkout@v3
  19. - name: Archive for iOS
  20. run: |
  21. xcodebuild \
  22. archive \
  23. -scheme GoogleSignIn-Package \
  24. -destination "generic/platform=iOS"
  25. - name: Archive for macOS
  26. run: |
  27. xcodebuild \
  28. archive \
  29. -scheme GoogleSignIn-Package \
  30. -destination "platform=OS X"