-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
28 lines (28 loc) · 856 Bytes
/
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
name: 'Generate build matrix'
description: 'A job that generates a build matrix based on files changed'
branding:
icon: 'folder-plus'
color: 'purple'
inputs:
repo-token:
description: 'The github token used to authenticate'
required: true
depth:
description: 'How many levels deep should the directories be returned'
required: true
default: 2
target-directory:
description: 'An optional target directory to listen to changes in'
required: false
build-all:
description: 'Set to true to build all sub directories in the target directory'
required: false
default: false
outputs:
build_matrix:
description: 'The files changed between the default branch and the sha being built'
is_empty:
description: 'Returns true when the build matrix is empty'
runs:
using: 'node12'
main: 'dist/index.js'