Skip to content

Commit 787b7c0

Browse files
authored
Update android.yml
1 parent 6c1a327 commit 787b7c0

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

.github/workflows/android.yml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,23 @@ on:
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
1312

1413
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
14+
- uses: actions/checkout@v4
15+
16+
- name: Set up JDK 17
17+
uses: actions/setup-java@v4
18+
with:
19+
distribution: temurin
20+
java-version: '17'
21+
cache: gradle
22+
23+
- name: Setup Gradle
24+
uses: gradle/actions/setup-gradle@v4
25+
26+
- name: Grant execute permission for gradlew
27+
run: chmod +x gradlew
2228

23-
- name: Grant execute permission for gradlew
24-
run: chmod +x gradlew
25-
- name: Build with Gradle
26-
run: ./gradlew build
29+
- name: Build with Gradle (show deprecations)
30+
run: ./gradlew build --warning-mode all

0 commit comments

Comments
 (0)