diff --git a/dist/index.js b/dist/index.js index 3b17e87..d2b9ab4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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); diff --git a/src/main.ts b/src/main.ts index e2ccb65..844b5e4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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 {