U4X-983: HMIS 106A 2024 Report #259
Workflow file for this run
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: Build with Maven | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| platform: [ ubuntu-latest ] | |
| java-version: [ 8 ] | |
| runs-on: ${{ matrix.platform }} | |
| env: | |
| PLATFORM: ${{ matrix.platform }} | |
| JAVA_VERSION: ${{ matrix.java-version }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Cache Maven packages | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.m2/repository | |
| key: maven-${{ runner.os }}-${{ hashFiles('**/pom.xml') }} | |
| restore-keys: | | |
| maven-${{ runner.os }}- | |
| - name: Set up JDK | |
| uses: actions/setup-java@v3 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java-version }} | |
| - name: Install dependencies | |
| run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true --batch-mode --show-version --file pom.xml | |
| - name: Build with Maven | |
| run: mvn test --batch-mode --file pom.xml |