Skip to content

Commit 438bc10

Browse files
authored
Create android.yml
1 parent 732353d commit 438bc10

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

‎.github/workflows/android.yml‎

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Android CI
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: set up JDK 11
17+
uses: actions/setup-java@v4
18+
with:
19+
java-version: '11'
20+
distribution: 'temurin'
21+
cache: gradle
22+
23+
- name: Grant execute permission for gradlew
24+
working-directory: APIJSON-Android/APIJSONApp
25+
run: chmod +x gradlew
26+
- name: Build with Gradle
27+
working-directory: APIJSON-Android/APIJSONApp
28+
run: ./gradlew build

0 commit comments

Comments
 (0)