Merge pull request #519 from AuthMe/dependabot/maven/dependencies/org… #146
This file contains hidden or 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
| # Secondary build that builds the project with JDK 11+. Note that the target in the pom.xml is still Java 8. | |
| name: Maven build | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| # Java 8 has its own file so we can do other stuff like Coveralls | |
| java: ['11', '17', '21'] | |
| name: Java ${{ matrix.java }} build | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: 'adopt' | |
| - name: Build with Maven | |
| run: mvn -B --file pom.xml package |