-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
39 lines (36 loc) · 1.04 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
36
37
38
39
name: Re-build on jackson-core v2 push
on:
repository_dispatch:
types: [jackson-core-pushed]
# just for testing
workflow_dispatch:
permissions:
contents: read
jobs:
build:
# Do we want wide matrix build? For now, limited
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
java_version: ['8', '17', '21']
os: ['ubuntu-22.04']
env:
JAVA_OPTS: "-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java_version }}
cache: 'maven'
- name: Build and test
run: ./mvnw -B -ff -ntp verify
# And let's proceed recursively...
trigger-dep-build:
name: Trigger downstream builds
needs: [build]
uses: ./.github/workflows/trigger_dep_builds_v2.yml
secrets:
token: ${{ secrets.REPO_DISPATCH }}