-
Notifications
You must be signed in to change notification settings - Fork 175
35 lines (32 loc) · 1.1 KB
/
dep_build_v2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Re-build on jackson-databind v2 push
on:
repository_dispatch:
types: [jackson-databind-pushed]
# just for testing
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: 'ubuntu-22.04'
strategy:
fail-fast: false
matrix:
java_version: ['8', '17', '21', '22']
# Versions need to align with ones in 'main.yml' workflow
# kotlin-reflect 1.8.2x has a bug and some tests fail, so we are downgrading to 1.8.10.
# https://youtrack.jetbrains.com/issue/KT-65156
kotlin_version: ['1.8.10', '1.9.23', '2.0.0']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- 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 -Dversion.kotlin=${{ matrix.kotlin_version }} clean verify
# No recursive rebuild (yet?)