From ef85b2bcb8880b4f4363df80edbb717e1ab367e7 Mon Sep 17 00:00:00 2001 From: Rebecca Schlussel Date: Fri, 31 May 2024 15:38:21 -0400 Subject: [PATCH] Update maven.yml workflow modeled after airlift/drift This fixes the build issues. --- .github/workflows/maven.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 7515a6cf2..4bbaa4c8f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -3,11 +3,7 @@ name: Java CI with Maven -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] +on: [push, pull_request] jobs: build: @@ -25,7 +21,7 @@ jobs: with: java-version: '8' distribution: 'temurin' - cache: maven - - name: Maven verify - run: mvn verify - + - name: Maven Install + run: mvn install -B -V -DskipTests -Dair.check.skip-all + - name: Maven Tests + run: mvn install -B -P ci