forked from bcylin/Try-tvOS
-
Notifications
You must be signed in to change notification settings - Fork 17
33 lines (31 loc) · 908 Bytes
/
push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: iOS build
on: push
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Apply Ruby
uses: actions/setup-ruby@v1
with:
ruby-version: '2.x'
- uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- uses: actions/cache@v1
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Install and setup
run: |
bundle config path vendor/bundle
make bootstrap
- name: Run Fastlane Build
run: bundle exec fastlane scan
- name: Send coverage to Codecov
run: bundle exec fastlane run codecov_reporter