-
-
Notifications
You must be signed in to change notification settings - Fork 41
34 lines (32 loc) · 897 Bytes
/
android.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
34
name: Android CI
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- name: setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.6
bundler-cache: true
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Install Bundler
run: gem install bundler --no-document -v $(grep "BUNDLED WITH" -1 Gemfile.lock | tail -n 1)
- name: Bundle install
run: bundle install --path=vendor/bundle --jobs 4 --retry 3
- name: fastlane
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
run: bundle exec fastlane review