Skip to content
Permalink
Browse files
simplify
Signed-off-by: Olivier Lamy <olamy@apache.org>
  • Loading branch information
olamy committed Apr 11, 2022
1 parent 998672b commit c1102a88b3312be59eae829ef75836c853f71a68
Showing 1 changed file with 4 additions and 15 deletions.
@@ -19,11 +19,8 @@ name: GitHub CI

on:
push:
branches:
- master
pull_request:
branches:
- master


jobs:
build:
@@ -40,20 +37,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Set up cache for ~./m2/repository
uses: actions/cache@v2.1.7
with:
path: ~/.m2/repository
key: maven-${{ matrix.os }}-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-${{ matrix.os }}-java${{ matrix.java }}-
maven-${{ matrix.os }}-
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: ${{ matrix.java }}
distribution: temurin
java-version: ${{ matrix.java }}
cache: 'maven'

- name: Build with Maven
run: mvn -e -B -V verify

0 comments on commit c1102a8

Please sign in to comment.