-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathaction.yml
29 lines (29 loc) · 814 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: 'Build an Alfred Workflow'
description: 'Compile contents of a workflow dir to a ZIP file with extension .alfredworkflow'
author: 'almibarss'
branding:
icon: 'archive'
color: 'yellow'
inputs:
workflow_dir:
description: 'Directory containing the sources of the workflow'
required: false
default: 'workflow'
exclude_patterns:
description: 'List of excluded files/directories'
required: false
default: ''
custom_version:
description: 'String that will override the workflow version'
required: false
outputs:
workflow_file:
description: 'The name of the created .alfredworkflow file'
runs:
using: 'docker'
image: 'Dockerfile'
env:
CUSTOM_VERSION: ${{ inputs.custom_version }}
args:
- ${{ inputs.workflow_dir }}
- ${{ inputs.exclude_patterns }}