mirror of
https://github.com/traccar/traccar.git
synced 2026-04-24 09:07:52 -04:00
CI: Only pass if there are no Gradle warnings
Adds the CLI option --warning-mode=fail to the Gradle build job. This ensures the build only passes if no warnings are cast. See https://docs.gradle.org/current/userguide/command_line_interface.html#sec:command_line_warnings
This commit is contained in:
2
.github/workflows/gradle.yml
vendored
2
.github/workflows/gradle.yml
vendored
@@ -18,4 +18,4 @@ jobs:
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
run: ./gradlew build --warning-mode=fail
|
||||
|
||||
Reference in New Issue
Block a user