Merge remote-tracking branch 'upstream/master' into fix-parse-path #110
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: Maven CI | |
on: [push, pull_request] | |
permissions: read-all | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
java-version: [ 17 ] | |
distro: [ 'zulu', 'temurin' ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Set up JDK 8 and ${{ matrix.java-version }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: ${{ matrix.distro }} | |
# We install two JDKs: | |
# * The first one is used by tests through Maven Toolchains. | |
# * The second one is used by Maven itself to perform the build. | |
# | |
# WARNING: The order matters. | |
# The last version specified will be assigned to JAVA_HOME. | |
java-version: | | |
8 | |
${{ matrix.java-version }} | |
- name: Build with Maven | |
shell: bash | |
run: mvn verify |