Skip to content

Commit

Permalink
fix: lint.yml: After installing sdkmanager, install Java 11.
Browse files Browse the repository at this point in the history
Signed-off-by: jefft0 <jeff@thefirst.org>
  • Loading branch information
jefft0 committed Sep 6, 2022
1 parent 1e16e72 commit 04571c7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ jobs:
$SDK_MAN --install "$BTOOL" platform-tools "$PLATFORM" ndk-bundle
> /dev/null

- name: Install Java 11
uses: actions/setup-java@v1
with:
java-version: 11

- name: Build Go Core
working-directory: packages
run: make build_core.android GOMOBILE_TARGET=/amd64
Expand Down
1 change: 1 addition & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ android {

lintOptions {
htmlReport false
textReport true
abortOnError true
}
}
Expand Down
1 change: 1 addition & 0 deletions android/bridge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ android {
lintOptions {
disable 'GradleDependency'
htmlReport false
textReport true
warningsAsErrors true
abortOnError true
}
Expand Down

0 comments on commit 04571c7

Please sign in to comment.