1
0
Fork 0

More logging

pull/1497/head
Konrad Pabjan 2023-08-17 10:13:47 -04:00
parent e37b49ae7a
commit cf8d6e3703
1 changed files with 5 additions and 1 deletions

View File

@ -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}`, {