-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
36 lines (34 loc) · 865 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
# action.yml
name: 'Image Resizer Inplace with Limits'
description: 'In place resize images inside a folder when over a certain size limit'
branding:
icon: 'image'
color: 'green'
inputs:
target:
description: 'Folder in which images are stored'
required: true
default: 'images'
dimensions:
description: 'New resolution for images'
required: true
default: '70%'
widthLimit:
description: 'Width Limit'
required: true
HeightLimit:
description: 'Height Limit'
required: true
outputs:
images_changed:
description: 'A string listing all images resized'
csv_images_changed:
description: 'A csv listing all images resized'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.widthLimit }}
- ${{ inputs.HeightLimit }}
- ${{ inputs.target }}
- ${{ inputs.dimensions }}