-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
68 lines (65 loc) · 2.09 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: 'Generate Chart'
author: Eric D Hiller
description: 'Create a Plot from JSON data input'
branding:
icon: 'bar-chart-2'
color: 'green'
inputs:
plot_definitions_dir:
description: 'Directory of JSON Plot definition files'
required: false
coverage_history_dir:
description: 'Directory of Coverage History XML files created by danielpalme/ReportGenerator-GitHub-Action'
required: false
source_scan_dir:
description: 'Directory which contains source.'
required: false
test_results_dir:
description: 'Directory where TRX test output files are located. Recursively scanned.'
required: false
output_dir:
description: 'Directory to place generated content.'
required: true
build_log_file_pattern:
description: 'File pattern for build log.'
required: true
default: '*-build.log'
debug:
description: 'Enable debug logging for the action'
required: false
default: 'false'
log_level:
description: 'Log Level: (verbose|debug|notice|warn|error|none)'
required: false
default: 'notice'
# https://docs.github.com/en/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-docker-container-and-javascript-actions
outputs:
test_result:
description: '{ "success": (true|false) }'
test_summary:
description: 'Markdown summary of tests success/skip/fail'
# tests_success_count:
# description: 'The number of tests that were successful'
# tests_failed_count:
# description: 'The number of tests that failed'
# tests_skipped_count:
# description: 'The number of tests that were skipped'
#outputs:
# random-number:
# description: "Random number"
# value: ${{ steps.random-number-generator.outputs.random-number }}
runs:
using: 'docker'
image: 'docker://ghcr.io/erichiller/gh-action-plot:latest'
#args:
#- ${{ inputs.coverage_history_dir }}
#- ${{ inputs.plot_definition_dir }}
#- ${{ inputs.data_path }}
#using: "composite"
#steps:
#- name: restore
# run: dotnet restore
# shell: pwsh
#- name: run
# run: dotnet run -- ${{ inputs.input-data-path }}
# shell: pwsh