Skip to content

Commit 0abc373

Browse files
committed
update github workflow
1 parent 68ef381 commit 0abc373

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

.github/workflows/android.yml

+26-5
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,31 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14+
1415
steps:
15-
- name: Checkout sources
16-
uses: actions/checkout@v4
17-
- name: Setup Gradle
18-
uses: gradle/gradle-build-action@v3
16+
- uses: actions/checkout@v4
17+
18+
- name: Set up JDK 17
19+
uses: actions/setup-java@v4
20+
with:
21+
java-version: '17'
22+
distribution: 'temurin'
23+
cache: gradle
24+
25+
- name: Grant execute permission for gradlew
26+
run: chmod +x gradlew
27+
1928
- name: Build with Gradle
20-
run: ./gradlew build
29+
run: ./gradlew build -x lint --warning-mode all
30+
31+
- name: Upload build artifacts
32+
uses: actions/upload-artifact@v4
33+
with:
34+
name: Package
35+
path: build/libs
36+
37+
- name: Upload Lint Report
38+
uses: actions/upload-artifact@v4
39+
with:
40+
name: lint-report
41+
path: app/build/reports/lint-results-debug.html

0 commit comments

Comments
 (0)