github workflows for jdk 19 #55
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
| name: Java build with Maven | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| maven: [ '3.9.11' ] | |
| steps: | |
| - name: get code | |
| uses: actions/checkout@v5 | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '25' | |
| - name: Setup Maven Action | |
| uses: s4u/[email protected] | |
| with: | |
| java-version: 25 | |
| maven-version: ${{ matrix.maven }} | |
| - name: run build script | |
| run: ./mvn-build-all.sh |