-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
51 lines (51 loc) · 1.56 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
50
51
name: 'Publish Report per branch'
description: 'Publish HTML, Plot (csv) reports with trend history per branch'
author: 'mgrybyk'
branding:
icon: 'layout'
color: 'gray-dark'
inputs:
report_id:
description: 'Unique report id'
required: true
default: 'html-report'
gh_pages:
description: 'Folder with gh-pages branch'
required: true
default: 'gh-pages'
report_dir:
description: 'Folder with generated html report or csv file(s)'
required: true
report_type:
description: 'html or csv'
required: false
default: 'html'
list_dirs:
description: 'Write index.html to the Github Action folders. Might cause concurrency issues!'
required: false
default: false
list_dirs_branch:
description: 'Write index.html to the report branch folder. Might cause concurrency issues!'
required: false
default: true
branch_cleanup_enabled:
description: 'Cleanup reports from deleted branches. Might cause concurrency issues!'
required: false
default: false
max_reports:
description: 'Max reports to keep per branch/report. Set to 0 to disable cleanup.'
required: false
default: 100
outputs:
# report_url and report_history_url have the same url for CSV reports
report_url:
description: 'Published Report url'
report_history_url:
description: 'Published History list url'
run_unique_id:
description: 'Name of the folder containing the report'
report_path:
description: 'Path to the folder containing the report relative to the repo root'
runs:
using: 'node20'
main: 'dist/index.js'