Skip to content

Commit 7dec478

Browse files
committed
Add v3 dep build
1 parent c7e4346 commit 7dec478

File tree

2 files changed

+36
-3
lines changed

2 files changed

+36
-3
lines changed

.github/workflows/dep_build.yml renamed to .github/workflows/dep_build_v2.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Re-build on jackson-databind push
1+
name: Re-build on jackson-databind v2 push
22
on:
33
repository_dispatch:
44
types: [jackson-databind-pushed]
@@ -11,12 +11,11 @@ permissions:
1111
jobs:
1212
build:
1313
# Do we want wide matrix build? For now, limited
14-
runs-on: ${{ matrix.os }}
14+
runs-on: 'ubuntu-22.04'
1515
strategy:
1616
fail-fast: false
1717
matrix:
1818
java_version: ['8', '17', '21']
19-
os: ['ubuntu-22.04']
2019
env:
2120
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2221
steps:

.github/workflows/dep_build_v3.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Re-build on jackson-databind v3 push
2+
on:
3+
repository_dispatch:
4+
types: [jackson-databind-pushed-v3]
5+
# just for testing
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
build:
13+
# Do we want wide matrix build? For now, limited
14+
runs-on: 'ubuntu-22.04'
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
java_version: ['8', '17', '21']
19+
env:
20+
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
21+
steps:
22+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
23+
with:
24+
ref: master
25+
- name: Set up JDK
26+
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
27+
with:
28+
distribution: 'temurin'
29+
java-version: ${{ matrix.java_version }}
30+
cache: 'maven'
31+
- name: Build and test
32+
run: ./mvnw -B -ff -ntp clean verify
33+
34+
# No recursive rebuild (yet?)

0 commit comments

Comments
 (0)