From cf8d6e37038b6cb985f09339765c7016c9fd7ac6 Mon Sep 17 00:00:00 2001 From: Konrad Pabjan Date: Thu, 17 Aug 2023 10:13:47 -0400 Subject: [PATCH] More logging --- packages/artifact/__tests__/ci-test-action/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/artifact/__tests__/ci-test-action/index.js b/packages/artifact/__tests__/ci-test-action/index.js index 01132ddd..af1021a3 100644 --- a/packages/artifact/__tests__/ci-test-action/index.js +++ b/packages/artifact/__tests__/ci-test-action/index.js @@ -3,7 +3,11 @@ const fs = require('fs'); const os = require('os'); const filePath = process.env[`GITHUB_ENV`] -fs.appendFileSync(filePath, `ACTIONS_RESULTS_URL=${process.env.ACTIONS_RESULTS_URL}${os.EOL}`, { + +const resultsUrl = process.env['ACTIONS_RESULTS_URL'] +console.log(`resultsUrl: ${resultsUrl}`) + +fs.appendFileSync(filePath, `ACTIONS_RESULTS_URL=${resultsUrl}${os.EOL}`, { encoding: 'utf8' }) fs.appendFileSync(filePath, `ACTIONS_RUNTIME_TOKEN=${process.env.ACTIONS_RUNTIME_TOKEN}${os.EOL}`, {