generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
38 lines (34 loc) · 1.26 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
name: 'metrics-regression-action'
description: 'Measure the difference between PR base<=>head of metrics listed in the json file and comment the result to PR.'
author: 'ryooo'
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: 'heart'
color: 'red'
# Define your inputs here.
inputs:
github-token:
description: 'GitHub API access token.It is used to upload test report and add comment to pull request.'
required: true
actual-directory-path:
description: "Path to json files directory.The json files stored in this directory will be compared with the expected json files from the last upload."
required: true
expected-directory-path:
description: "Path to json files directory.The json files stored in this directory will be compared as the expected json files."
required: false
target-hash:
description: "The commit hash to be compared."
required: false
artifact-name:
description: 'Workflow artifact name. `metrics` by default.'
required: false
branch:
description: 'A branch name which manages images. `metrics-regression-action` by default.'
required: false
# Define your outputs here.
outputs:
result:
description: 'ok or failed'
runs:
using: node20
main: dist/index.js