diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e2c33e0d738..2622db96e92 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - java-version: ['19', '21', '22'] + java-version: ['21', '22'] steps: - uses: actions/checkout@v4 - name: Set up JDK ${{matrix.java-version}} PR @@ -41,6 +41,31 @@ jobs: - name: Build with Maven run: mvn -B package --file pom.xml + build-all: + + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + java-version: ['19'] + steps: + - uses: actions/checkout@v4 + - name: Set up JDK ${{matrix.java-version}} PR + uses: actions/setup-java@v4 + with: + java-version: ${{matrix.java-version}} + distribution: 'temurin' + # Step that does that actual cache save and restore + - name: Cache + uses: actions/cache@v4 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- + - name: Build with Maven + run: mvn -B package -p all --file pom.xml + build-and-snapshot: runs-on: ubuntu-latest strategy: diff --git a/pom.xml b/pom.xml index f9ac6dd73ee..89a31d2ac48 100644 --- a/pom.xml +++ b/pom.xml @@ -710,19 +710,10 @@ - - java19-less - - (,17,18,19,20] - - - gremlin - - - all + gremlin studio