Rewrite the JavaDoc logic in Java 11 APIs and use multi-release jar t… #887
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
pull_request: | |
branches: [master] | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
java: [8, 11] # TODO: Add 11 once build issues are resolved | |
name: Java ${{ matrix.java }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
# Need to fetch 2 commits for the PR (base commit and head merge commit) so we can compute the diff | |
fetch-depth: 2 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: zulu | |
java-version: ${{ matrix.java }} | |
cache: gradle | |
- run: ./.github/scripts/build.sh |