Skip to content

Commit b99b4f0

Browse files
authored
Create build-ci.yml
1 parent d2411fb commit b99b4f0

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

Diff for: .github/workflows/build-ci.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- name: Set up JDKd
16+
uses: actions/setup-java@v2
17+
with:
18+
distribution: 'zulu'
19+
java-version: '11'
20+
21+
- name: Make gradlew executable
22+
run: chmod +x ./gradlew
23+
24+
# - name: Spotless check
25+
# run: ./gradlew spotlessCheck
26+
27+
- name: Build debug APK
28+
run: ./gradlew assembleDebug --warning-mode all --stacktrace
29+
30+
- name: Upload APK
31+
uses: actions/upload-artifact@v2
32+
with:
33+
name: app-debug
34+
path: app/build/outputs/apk/debug/app-debug.apk

0 commit comments

Comments
 (0)