forked from tytydraco/LADB
-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (33 loc) · 912 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
35
36
37
38
39
40
name: Android CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: gradle cmd Action
uses: eskatos/gradle-command-action@v1
with:
wrapper-cache-enabled: false
dependencies-cache-enabled: false
configuration-cache-enabled: false
gradle-version: 6.8.3
arguments: build
# - name: Grant execute permission for gradlew
# run: chmod +x gradlew
# - name: Build with Gradle
# run: ./gradlew build
- name: upload-artifact my-artifact ${{ matrix.node-version }}
uses: 'actions/upload-artifact@v2'
with:
name: my-artifact-${{ matrix.node-version }}
path: '**/*.apk'