Skip to content

Commit

Permalink
Add v3 upstream rebuild too
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 13, 2024
1 parent a83b40d commit 73c1853
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Upstream Dispatch
name: Upstream Dispatch v2

# test build when upstream jackson modules are published

Expand All @@ -9,7 +9,7 @@ on:

jobs:
build:
name: Build and Test
name: Build and Test on databind v2 changes
runs-on: ubuntu-latest
steps:
- name: Checkout current branch (full)
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/upstream-dispatch-v3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Upstream Dispatch v3

# test build when upstream jackson modules are published

on:
repository_dispatch:
types: [jackson-databind-pushed]
workflow_dispatch:

jobs:
build:
name: Build and Test on databind v3 changes
runs-on: ubuntu-latest
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
ref: master
fetch-depth: 0

- name: Setup Java (zulu@11)
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
cache: sbt

- run: sbt -J-Xmx2G '++ 2.13' test

0 comments on commit 73c1853

Please sign in to comment.