-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
29 lines (29 loc) · 1001 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
name: 'tw5-plugin-packer'
author: 'Gk0Wk'
description: 'Pack up your TiddlyWiki5 plugin folders to JSON files.'
inputs:
source:
description: 'The root directory of your plugin. You can add multiple paths in the form of one per line.'
required: true
output:
description: 'The output path of the packed plugin files, default to "output".'
required: false
default: 'output'
minify:
description: 'Wheter to minify js and css tiddlers, default to "true".'
required: false
default: 'true'
uglifyjs-options:
description: 'JSON string of options for UglifyJS. See readme for default values.'
required: false
default: ''
cleancss-options:
description: 'JSON string of options for CleanCSS. See readme for default values.'
required: false
default: ''
outputs:
output-plugins:
description: 'The JSON file path of the successfully exported plugin, stored as an array of strings in JSON format.'
runs:
using: 'node16'
main: 'ghaction.js'