GH-1 - Tweak CI build to avoid obsolete integration builds.

This commit is contained in:
Oliver Drotbohm
2022-07-07 20:47:28 +02:00
parent 417e215993
commit 817aaabbdb

View File

@@ -2,7 +2,7 @@ name: Maven Build
on:
push:
branches: [ main, 1.3.x ]
branches: [ main ]
pull_request:
branches: [ main ]
@@ -25,25 +25,3 @@ jobs:
- name: Build with Maven
run: ./mvnw -B
integrations:
runs-on: ubuntu-latest
strategy:
matrix:
boot-version: ["2.5.14", "2.6.9", "3.0.0-SNAPSHOT"]
name: Integration test (Boot ${{ matrix.boot-version }})
needs: build
steps:
- name: Check out sources
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'
- name: Build with Maven (Boot ${{ matrix.boot-version }})
run: sed -i -e 's/2.7.1/${{ matrix.boot-version }}/g' ./pom.xml && ./mvnw dependency:list -B && ./mvnw -B