File tree 1 file changed +26
-5
lines changed
1 file changed +26
-5
lines changed Original file line number Diff line number Diff line change 11
11
jobs :
12
12
build :
13
13
runs-on : ubuntu-latest
14
+
14
15
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
+
19
28
- 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
You can’t perform that action at this time.
0 commit comments