generated from actions/container-action
-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
35 lines (29 loc) · 873 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
name: 'diff-pdf'
description: 'Action for visually comparing two PDF files using diff-pdf'
author: 'nowsprinting'
inputs:
file1:
description: 'Input PDF file1 path'
required: true
file2:
description: 'Input PDF file2 path'
required: true
options:
description: '[-v] [-s] [-m] [-g] [--output-diff <str>] [--channel-tolerance <num>] [--per-page-pixel-tolerance <num>] [--dpi <num>]'
required: false
default: ''
suppress-diff-error:
description: 'Exit code to 0 even there is a difference (Expected to be used with --output-diff option)'
required: false
default: 'false'
runs:
using: 'docker'
image: 'docker://ghcr.io/nowsprinting/diff-pdf:latest'
args:
- "${{ inputs.options }}"
- ${{ inputs.file1 }}
- ${{ inputs.file2 }}
- ${{ inputs.suppress-diff-error }}
branding:
icon: 'copy'
color: 'red'