Skip to content

Commit bb2a367

Browse files
committed
Add recursive rebuild workflow
1 parent 839ecae commit bb2a367

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/dep_build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Re-build on jackson-databind push
2+
on:
3+
repository_dispatch:
4+
types: [jackson-databind-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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
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 clean verify
32+
33+
# No recursive rebuild (yet?)

0 commit comments

Comments
 (0)