mirror of
https://github.com/dorny/paths-filter.git
synced 2025-06-08 00:59:04 +00:00
Add ${FILTER_NAME}_count
output
This commit is contained in:
parent
363576b9ea
commit
c2766acabb
3 changed files with 3 additions and 0 deletions
|
@ -190,6 +190,7 @@ function exportResults(results: FilterResults, format: ExportFormat): void {
|
|||
}
|
||||
|
||||
core.setOutput(key, value)
|
||||
core.setOutput(`${key}_count`, files.length)
|
||||
if (format !== 'none') {
|
||||
const filesValue = serializeExport(files, format)
|
||||
core.setOutput(`${key}_files`, filesValue)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue