pmd/.github/workflows/build.yml
dependabot[bot] 72f9d0f90a Bump actions/setup-java from v1.4.0 to v1.4.2
Bumps [actions/setup-java](https://github.com/actions/setup-java) from v1.4.0 to v1.4.2.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v1.4.0...8bb50d97d6b4d316daf284fdf8eafbfc988421fc)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-12 10:46:46 +00:00

30 lines
755 B
YAML

name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os: [ ubuntu-latest , windows-latest , macos-latest ]
java: [ 11 ]
experimental: [ false ]
steps:
- uses: actions/checkout@v2.3.2
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1.4.2
with:
java-version: ${{ matrix.java }}
- name: Build with mvnw
run: |
./mvnw clean install