forked from yogeshlonkar/wait-for-jobs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
42 lines (37 loc) · 1.36 KB
/
action.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
name: Wait for jobs
description: Wait for the specified jobs in the same run to be complete successfully before proceeding, helpful to prestart the job
branding:
icon: 'check-square'
color: 'gray-dark'
inputs:
gh-token:
description: GitHub token to access API
required: true
ignore-skipped:
description: To ignore jobs that are skipped from given list of job dependencies
default: 'false'
required: false
jobs:
description: Comma or newline separated list of names of job dependencies for this step, it must be `name:` property of job if set
required: true
outputs-from:
description: Comma separated list of JSON artifacts from (jobs in) this build that will be parse to set as output for this step
required: false
suffix:
description: Instead of exact job name match check suffix or job names, useful in case of reusable workflows
default: 'false'
required: false
interval:
description: Interval in milliseconds between each check of dependencies completion
default: '2000'
required: false
ttl:
description: Maximum number of minutes to wait before giving up, step will fail with message providing remaining job names. Can't be more than 15
default: '5'
required: false
outputs:
outputs:
description: Outputs from given list of JSON artifacts
runs:
using: node16
main: dist/index.js