Files
firebase-ios-sdk/.github/workflows/firebasepod.yml
T
Maksym Malyhin de91df623b Don't run GHA on private repo until it is for a PR (#5849)
* Don't run ABTesting GHA on private repo unless for a PR

* Fix syntax

* Auth workflow

* Don't run GHA on private repo unless it is for a PR

* disable on push to master
2020-06-18 18:20:45 -04:00

31 lines
759 B
YAML

name: firebasepod
# Verify that the Firebase.podspec will successfully `pod install`.
on:
pull_request:
paths:
- '*.podspec'
- 'CoreOnly/**'
- '.github/workflows/firebasepod.yml'
- 'Gemfile'
schedule:
# Run every day at 11pm (PST) - cron uses UTC times
- cron: '0 7 * * *'
jobs:
installation-test:
# Don't run on private repo unless it is a PR.
if: github.repository != 'FirebasePrivate/firebase-ios-sdk' || github.event_name == 'pull_request'
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Setup Bundler
run: scripts/setup_bundler.sh
- name: Prereqs
run: scripts/install_prereqs.sh FirebasePod iOS
- name: Build
run: scripts/build.sh FirebasePod iOS