File tree Expand file tree Collapse file tree 2 files changed +39
-4
lines changed
Expand file tree Collapse file tree 2 files changed +39
-4
lines changed Original file line number Diff line number Diff line change 1- name : Re-build on jackson-databind push
1+ name : Re-build on jackson-databind v2 push
22on :
33 repository_dispatch :
44 types : [jackson-databind-pushed]
@@ -10,8 +10,7 @@ permissions:
1010
1111jobs :
1212 build :
13- # Do we want wide matrix build? For now, more limited
14- runs-on : ${{ matrix.os }}
13+ runs-on : ' ubuntu-22.04'
1514 strategy :
1615 fail-fast : false
1716 matrix :
2019 # kotlin-reflect 1.8.2x has a bug and some tests fail, so we are downgrading to 1.8.10.
2120 # https://youtrack.jetbrains.com/issue/KT-65156
2221 kotlin_version : ['1.8.10', '1.9.23', '2.0.0']
23- os : ['ubuntu-22.04']
2422 env :
2523 JAVA_OPTS : " -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2624 steps :
Original file line number Diff line number Diff line change 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+ runs-on : ' ubuntu-22.04'
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ java_version : ['8', '17', '21', '22']
18+ # Versions need to align with ones in 'main.yml' workflow
19+ # kotlin-reflect 1.8.2x has a bug and some tests fail, so we are downgrading to 1.8.10.
20+ # https://youtrack.jetbrains.com/issue/KT-65156
21+ kotlin_version : ['1.8.10', '1.9.23', '2.0.0']
22+ env :
23+ JAVA_OPTS : " -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
24+ steps :
25+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
26+ with :
27+ ref : master
28+ - name : Set up JDK
29+ uses : actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
30+ with :
31+ distribution : ' temurin'
32+ java-version : ${{ matrix.java_version }}
33+ cache : ' maven'
34+ - name : Build and test
35+ run : ./mvnw -B -ff -ntp -Dversion.kotlin=${{ matrix.kotlin_version }} clean verify
36+
37+ # No recursive rebuild (yet?)
You can’t perform that action at this time.
0 commit comments