updated the Maven plugins #7
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: Test | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [ '8', '11', '17', '21' ] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Checkout java-dirq | |
uses: actions/checkout@v4 | |
with: | |
repository: cern-mig/java-dirq | |
path: ./java-dirq | |
- name: Set up Java ${{ matrix.java-version }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: 'adopt' | |
- name: Build java-dirq | |
working-directory: ./java-dirq | |
run: mvn --batch-mode --update-snapshots install | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots verify |