Deploy to downloads-tds #13
Workflow file for this run
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
on: [pull_request] | |
jobs: | |
tests: | |
name: threddsIso Tests | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# test against latest 11 and 14 | |
distribution: [zulu, adopt] | |
java: [ 11, 14 ] | |
profile: [ dev, prod ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup java ${{ matrix.java }}i (${{ matrix.distribution }}) | |
uses: actions/setup-java@v2 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: ${{ matrix.distribution }} | |
- name: Cache local Maven repository | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Build and test with Maven | |
run: mvn clean test -DskipTests=false -P ${{ matrix.profile }} | |