diff --git a/.github/workflows/dep_build.yml b/.github/workflows/dep_build_v2.yml similarity index 88% rename from .github/workflows/dep_build.yml rename to .github/workflows/dep_build_v2.yml index fdf78688..ff1e9d8f 100644 --- a/.github/workflows/dep_build.yml +++ b/.github/workflows/dep_build_v2.yml @@ -1,4 +1,4 @@ -name: Re-build on jackson-databind push +name: Re-build on jackson-databind v2 push on: repository_dispatch: types: [jackson-databind-pushed] @@ -11,12 +11,11 @@ permissions: jobs: build: # Do we want wide matrix build? For now, limited - runs-on: ${{ matrix.os }} + runs-on: 'ubuntu-22.04' strategy: fail-fast: false matrix: java_version: ['8', '17', '21'] - os: ['ubuntu-22.04'] env: JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1" steps: diff --git a/.github/workflows/dep_build_v3.yml b/.github/workflows/dep_build_v3.yml new file mode 100644 index 00000000..1c9bd610 --- /dev/null +++ b/.github/workflows/dep_build_v3.yml @@ -0,0 +1,34 @@ +name: Re-build on jackson-databind v3 push +on: + repository_dispatch: + types: [jackson-databind-pushed-v3] + # just for testing + workflow_dispatch: + +permissions: + contents: read + +jobs: + build: + # Do we want wide matrix build? For now, limited + runs-on: 'ubuntu-22.04' + strategy: + fail-fast: false + matrix: + java_version: ['8', '17', '21'] + env: + JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1" + steps: + - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 + with: + ref: master + - name: Set up JDK + uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1 + with: + distribution: 'temurin' + java-version: ${{ matrix.java_version }} + cache: 'maven' + - name: Build and test + run: ./mvnw -B -ff -ntp clean verify + +# No recursive rebuild (yet?)