File tree Expand file tree Collapse file tree 3 files changed +8
-34
lines changed Expand file tree Collapse file tree 3 files changed +8
-34
lines changed Original file line number Diff line number Diff line change 1
- name : build_pull_request.sh
1
+ name : Android CI
2
2
3
3
on :
4
4
pull_request :
5
+ push :
5
6
6
7
concurrency :
7
- group : ${{ github.workflow }}-${{ github.head_ref || github.ref }}
8
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
8
9
cancel-in-progress : true
9
10
10
11
jobs :
29
30
run : ./copy_mock_google_services_json.sh
30
31
- name : Build with Gradle (Pull Request)
31
32
run : ./build_pull_request.sh
33
+ if : github.event_name == 'pull_request'
34
+ - name : Build with Gradle (Push)
35
+ run : ./gradlew clean ktlint assemble
36
+ if : github.event_name != 'pull_request'
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -39,6 +39,6 @@ Please read and follow the steps in the [CONTRIBUTING.md](CONTRIBUTING.md)
39
39
[ ![ SAM Score] [ sam-score-badge ]] [ sam-score ]
40
40
41
41
[ gh-actions ] : https://github.com/firebase/quickstart-android/actions
42
- [ gh-actions-badge ] : https://github.com/firebase/quickstart-android/actions/workflows/build_branch .yml/badge.svg?branch=master&event=push
42
+ [ gh-actions-badge ] : https://github.com/firebase/quickstart-android/actions/workflows/android .yml/badge.svg?branch=master&event=push
43
43
[ sam-score ] : https://ossbot.computer/samscore.html
44
44
[ sam-score-badge ] : https://ossbot.computer/samscorebadge?org=firebase&repo=quickstart-android
You can’t perform that action at this time.
0 commit comments