From 73e5a749451384dae03ef05f38b683680683e678 Mon Sep 17 00:00:00 2001 From: Eric Willhoit Date: Mon, 22 Jan 2024 15:18:23 -0600 Subject: [PATCH] chore: try toJson --- .github/workflows/get-signed-from-stampy.yml | 2 +- scripts/stampy-signed-upload.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/get-signed-from-stampy.yml b/.github/workflows/get-signed-from-stampy.yml index 069133e7..c0f47bbb 100644 --- a/.github/workflows/get-signed-from-stampy.yml +++ b/.github/workflows/get-signed-from-stampy.yml @@ -83,7 +83,7 @@ jobs: "type": "section", "text": { "type": "mrkdwn", - "text": "Stampy signed and uploaded the following files\n ${{ steps.upload.outputs.output }}" + "text": "Stampy signed and uploaded the following files\n ${{ toJson(steps.upload.outputs.output) }}" } }] } diff --git a/scripts/stampy-signed-upload.js b/scripts/stampy-signed-upload.js index 2c2da75a..bc076b21 100755 --- a/scripts/stampy-signed-upload.js +++ b/scripts/stampy-signed-upload.js @@ -31,6 +31,6 @@ files if (error) { throw error; } - console.log(`${stdout.split('\r').filter((l) => l.includes('upload:'))} \\${os.EOL}`); + console.log(stdout.split('\r').filter((l) => l.includes('upload:'))); }); });