Skip to content

Commit

Permalink
[CI] Fail the build if Gradle build file has warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyazelenko committed Jul 16, 2021
1 parent b1f7c75 commit 701685a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- cron: '0 0 * * *'

env:
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.java.installations.auto-detect=false"
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.java.installations.auto-detect=false -Dorg.gradle.warning.mode=fail"
CMAKE_VERSION: "3.6.1"

jobs:
Expand Down

0 comments on commit 701685a

Please sign in to comment.