From 772818e2918ed73fe5f99eeb4ca1abf6db13ab91 Mon Sep 17 00:00:00 2001 From: fabidick22 Date: Tue, 13 Sep 2022 15:31:47 -0500 Subject: [PATCH] refactor: build app \nBREAKING CHANGE: Rename and create new outputs --- dist/index.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index 35eb4f3..a3ad162 100644 --- a/dist/index.js +++ b/dist/index.js @@ -8870,8 +8870,10 @@ async function setOutputs(files) { pathsChanged.push(file.filename.split("/").slice(0, -1).join("/")) filesChanged.push(file.filename) }) - core.setOutput("paths_changed", JSON.stringify([...new Set(pathsChanged)])) - core.setOutput("file_changed", JSON.stringify(filesChanged)) + core.setOutput("paths_list", JSON.stringify([...new Set(pathsChanged)])) + core.setOutput("file_list", JSON.stringify([...new Set(filesChanged)])) + core.setOutput("paths_str", [...new Set(pathsChanged)].join()) + core.setOutput("file_str", [...new Set(filesChanged)].join()) } const main = async () => { @@ -8895,7 +8897,7 @@ const main = async () => { }) if (filteredFiles.length === 0) { - console.log("No matchs found.") + console.log("No matches found.") console.log(`Raw input: ${path}`) console.log(`Regex: ${regExp.toString()}`) }