Add ${FILTER_NAME}_count output

This commit is contained in:
Michal Dorner 2021-01-29 19:54:44 +01:00
parent 363576b9ea
commit c2766acabb
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
3 changed files with 3 additions and 0 deletions

1
dist/index.js vendored
View file

@ -4806,6 +4806,7 @@ function exportResults(results, format) {
core.info('Matching files: none');
}
core.setOutput(key, value);
core.setOutput(`${key}_count`, files.length);
if (format !== 'none') {
const filesValue = serializeExport(files, format);
core.setOutput(`${key}_files`, filesValue);