Skip to content

aodn-portal

aodn-portal #261

Workflow file for this run

name: aodn-portal
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '8'
cache: 'maven'
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Run the Maven install phase
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: Run the Maven test phase
run: mvn test -B