Skip to content

Commit f4413c0

Browse files
committed
Add CI support for re-build by jackson-core push
1 parent 8a3069f commit f4413c0

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/dep_build.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Re-build on jackson-core push
2+
on:
3+
repository_dispatch:
4+
types: [jackson-core-pushed]
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: ${{ matrix.os }}
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
java_version: ['8', '17', '21']
19+
os: ['ubuntu-22.04']
20+
env:
21+
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
22+
steps:
23+
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
24+
- name: Set up JDK
25+
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
26+
with:
27+
distribution: 'temurin'
28+
java-version: ${{ matrix.java_version }}
29+
cache: 'maven'
30+
- name: Build and test
31+
run: ./mvnw -B -ff -ntp verify

0 commit comments

Comments
 (0)