Skip to content

Commit

Permalink
Add workflow to get rebuild on jackson-databind dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed May 8, 2024
1 parent 1489636 commit aac1e47
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/dep_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Re-build on jackson-databind push
on:
repository_dispatch:
types: [jackson-databind-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@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 clean verify

# No recursive rebuild (yet?)

0 comments on commit aac1e47

Please sign in to comment.