LuK1337 | 4ddfd81 | 2022-08-23 00:07:40 +0200 | [diff] [blame^] | 1 | name: build |
2 | |||||
3 | on: [push, pull_request] | ||||
4 | |||||
5 | jobs: | ||||
6 | build: | ||||
7 | runs-on: ubuntu-latest | ||||
8 | |||||
9 | steps: | ||||
10 | - name: Checkout repo | ||||
11 | uses: actions/checkout@v1 | ||||
12 | |||||
13 | - name: Setup JDK 11 | ||||
14 | uses: actions/setup-java@v1 | ||||
15 | with: | ||||
16 | java-version: 11 | ||||
17 | |||||
18 | - name: Build with Gradle | ||||
19 | run: ./gradlew assembleDebug | ||||
20 | |||||
21 | - uses: actions/upload-artifact@v3 | ||||
22 | with: | ||||
23 | name: app-debug.apk | ||||
24 | path: app/build/outputs/apk/debug/app-debug.apk |