mirror of
https://gitea.com/actions/dorny-paths-filter.git
synced 2025-12-15 04:47:15 +00:00
Add ${FILTER_NAME}_count output
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user