-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
48 lines (45 loc) · 1.55 KB
/
trigger_dep_builds_v2.yml
File metadata and controls
48 lines (45 loc) · 1.55 KB
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
40
41
42
43
44
45
46
47
48
name: Trigger downstream Jackson 2.x builds
on:
workflow_call:
secrets:
token:
required: true
permissions:
contents: read
jobs:
trigger-dep-build-v2:
name: Trigger downstream builds
runs-on: ubuntu-latest
strategy:
fail-fast: false
# Won't matter a lot but try to make dispatching non-parallel
max-parallel: 1
matrix:
repo:
- 'FasterXML/jackson-modules-base'
- 'FasterXML/jackson-modules-java8'
- 'FasterXML/jackson-dataformats-binary'
- 'FasterXML/jackson-dataformats-text'
- 'FasterXML/jackson-dataformat-xml'
- 'FasterXML/jackson-datatypes-collections'
- 'FasterXML/jackson-datatypes-misc'
- 'FasterXML/jackson-datatype-hibernate'
- 'FasterXML/jackson-datatype-joda'
- 'FasterXML/jackson-module-kotlin'
- 'FasterXML/jackson-module-scala'
- 'FasterXML/jackson-jakarta-rs-providers'
- 'FasterXML/jackson-jaxrs-providers'
- 'FasterXML/jackson-benchmarks'
- 'FasterXML/jackson-integration-tests'
steps:
- name: Repository dispatch
uses: peter-evans/repository-dispatch@1a91c28090489a711dd89a2424bb13d72a56e2e4 # v3.0.0
with:
token: ${{ secrets.token }}
repository: ${{ matrix.repo }}
event-type: jackson-databind-pushed
# Could push information on what was built but not yet
client-payload: '{"version": "N/A" }'
- name: Delay between dispatches
run: sleep 8s
shell: bash