-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
39 lines (35 loc) · 1013 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
29
30
31
32
33
34
35
36
37
38
39
name: 'Json Fields'
description: 'Automatically filters JSON files by provided fields and operation mode (unique/duplicate)'
author: 'AlexRogalskiy'
inputs:
sourceData:
description: 'JSON data source with action parameters'
required: false
mode:
description: 'JSON operation mode (unique/duplicate)'
required: true
jsonPath:
description: 'String representing JSON query path'
required: true
jsonFields:
description: 'String representing comma-separated list of fields to process'
required: true
sourceFile:
description: 'Source JSON file to process'
required: true
targetPath:
description: 'Target path to store processed JSON file'
required: true
targetFile:
description: 'Target JSON destination file name'
required: false
outputs:
changed:
description: 'JSON operation status'
runs:
using: 'node12'
main: 'dist/index.js'
# Ref: https://haya14busa.github.io/github-action-brandings/
branding:
icon: 'filter'
color: 'white'