forked from AlexRogalskiy/github-action-screenshots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
49 lines (45 loc) · 1.03 KB
/
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
40
41
42
43
44
45
46
47
48
49
name: 'Web Screenshots'
description: 'Create web screenshots by input source url'
author: 'AlexRogalskiy'
inputs:
url:
description: 'screenshot source url'
required: true
name:
description: 'screenshot name'
required: false
default: 'screenshot'
path:
description: 'screenshot path'
required: false
default: 'images'
extension:
description: 'screenshot extension'
required: false
default: 'png'
encoding:
description: 'screenshot encoding'
required: false
default: 'binary'
fullPage:
description: 'screenshot with a full-page view'
required: false
default: 'false'
width:
description: 'screenshot width'
required: false
default: '1024'
height:
description: 'screenshot height'
required: false
default: '768'
outputs:
image:
description: 'screenshot image generated by input source url'
runs:
using: 'node12'
main: 'dist/index.js'
# Ref: https://haya14busa.github.io/github-action-brandings/
branding:
icon: 'scissors'
color: 'blue'