Skip to content

Commit 9cfcbab

Browse files
committed
Release 4.6.4
1 parent 5c1e1a8 commit 9cfcbab

File tree

5 files changed

+20
-5
lines changed

5 files changed

+20
-5
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
dotnet-version: 3.1.302
1212

1313
- name: ReportGenerator
14-
uses: danielpalme/[email protected].3
14+
uses: danielpalme/[email protected].4
1515
with:
1616
reports: 'coverage.xml' # REQUIRED # The coverage reports that should be parsed (separated by semicolon). Globbing is supported.
1717
targetdir: 'coveragereport' # REQUIRED # The directory where the generated report should be saved.
@@ -25,4 +25,5 @@
2525
verbosity: 'Info' # The verbosity level of the log messages. Values: Verbose, Info, Warning, Error, Off
2626
title: '' # Optional title.
2727
tag: '${{ github.run_number }}_${{ github.run_id }}' # Optional tag or build version.
28+
customSettings: '' # Optional custom settings (separated by semicolon). See: https://github.com/danielpalme/ReportGenerator/wiki/Settings.
2829
```

dist/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
973973
const core = __importStar(__webpack_require__(470));
974974
const exec = __importStar(__webpack_require__(986));
975975
const fs = __importStar(__webpack_require__(747));
976-
const VERSION = '4.6.3';
976+
const VERSION = '4.6.4';
977977
function run() {
978978
return __awaiter(this, void 0, void 0, function* () {
979979
try {
@@ -1039,6 +1039,12 @@ function run() {
10391039
'-title:' + (core.getInput('title') || ''),
10401040
'-tag:' + (core.getInput('tag') || '')
10411041
];
1042+
const customSettings = (core.getInput('customSettings') || '');
1043+
if (customSettings.length > 0) {
1044+
customSettings.split(';').forEach(setting => {
1045+
args.push(setting.trim());
1046+
});
1047+
}
10421048
resultCode = yield exec.exec('reportgeneratortool/reportgenerator', args, {
10431049
listeners: {
10441050
stdout: (data) => {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ReportGenerator",
3-
"version": "4.6.3",
3+
"version": "4.6.4",
44
"description": "",
55
"main": "lib/reportgenerator.js",
66
"scripts": {

src/reportgenerator.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as core from '@actions/core';
22
import * as exec from '@actions/exec';
33
import * as fs from 'fs';
44

5-
const VERSION = '4.6.3';
5+
const VERSION = '4.6.4';
66

77
async function run() {
88
try {
@@ -85,6 +85,14 @@ async function run() {
8585
'-tag:' + (core.getInput('tag') || '')
8686
];
8787

88+
const customSettings = (core.getInput('customSettings') || '');
89+
90+
if (customSettings.length > 0) {
91+
customSettings.split(';').forEach(setting => {
92+
args.push(setting.trim());
93+
});
94+
}
95+
8896
resultCode = await exec.exec(
8997
'reportgeneratortool/reportgenerator',
9098
args,

0 commit comments

Comments
 (0)