forked from FasterXML/jackson-databind
-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (40 loc) · 1.34 KB
/
trigger_dep_builds_v3.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
40
41
42
43
name: Trigger downstream Jackson 3.x builds
on:
workflow_call:
secrets:
token:
required: true
jobs:
trigger-dep-build-v3:
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-module-kotlin'
- 'FasterXML/jackson-module-scala'
- 'FasterXML/jackson-jaxrs-providers'
- 'FasterXML/jackson-jakarta-rs-providers'
- 'FasterXML/jackson-integration-tests'
steps:
- name: Repository dispatch
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.token }}
repository: ${{ matrix.repo }}
event-type: jackson-databind-pushed-v3
# Could push information on what was built but not yet
client-payload: '{"version": "N/A" }'
- name: Delay between dispatches
run: sleep 10s
shell: bash