mirror of
https://github.com/dorny/paths-filter.git
synced 2025-06-13 06:37:13 +02:00
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -4810,6 +4810,7 @@ function exportResults(results, format) {
|
||||
const filesValue = serializeExport(files, format);
|
||||
core.setOutput(`${key}_files`, filesValue);
|
||||
}
|
||||
core.endGroup();
|
||||
}
|
||||
if (results['changes'] === undefined) {
|
||||
const changesJson = JSON.stringify(changes);
|
||||
@ -4819,7 +4820,6 @@ function exportResults(results, format) {
|
||||
else {
|
||||
core.info('Cannot set changes output variable - name already used by filter output');
|
||||
}
|
||||
core.endGroup();
|
||||
}
|
||||
function serializeExport(files, format) {
|
||||
const fileNames = files.map(file => file.filename);
|
||||
|
@ -194,6 +194,7 @@ function exportResults(results: FilterResults, format: ExportFormat): void {
|
||||
const filesValue = serializeExport(files, format)
|
||||
core.setOutput(`${key}_files`, filesValue)
|
||||
}
|
||||
core.endGroup()
|
||||
}
|
||||
|
||||
if (results['changes'] === undefined) {
|
||||
@ -203,7 +204,6 @@ function exportResults(results: FilterResults, format: ExportFormat): void {
|
||||
} else {
|
||||
core.info('Cannot set changes output variable - name already used by filter output')
|
||||
}
|
||||
core.endGroup()
|
||||
}
|
||||
|
||||
function serializeExport(files: File[], format: ExportFormat): string {
|
||||
|
Reference in New Issue
Block a user