jackson-core-pushed #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Set up JDK | |
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2 | |
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 }} |