mirror of https://github.com/actions/toolkit
Minor cleanup
parent
cf8d6e3703
commit
64340c1c3d
|
@ -4,10 +4,7 @@ const fs = require('fs');
|
||||||
const os = require('os');
|
const os = require('os');
|
||||||
const filePath = process.env[`GITHUB_ENV`]
|
const filePath = process.env[`GITHUB_ENV`]
|
||||||
|
|
||||||
const resultsUrl = process.env['ACTIONS_RESULTS_URL']
|
fs.appendFileSync(filePath, `ACTIONS_RESULTS_URL=${process.env.ACTIONS_RESULTS_URL}${os.EOL}`, {
|
||||||
console.log(`resultsUrl: ${resultsUrl}`)
|
|
||||||
|
|
||||||
fs.appendFileSync(filePath, `ACTIONS_RESULTS_URL=${resultsUrl}${os.EOL}`, {
|
|
||||||
encoding: 'utf8'
|
encoding: 'utf8'
|
||||||
})
|
})
|
||||||
fs.appendFileSync(filePath, `ACTIONS_RUNTIME_TOKEN=${process.env.ACTIONS_RUNTIME_TOKEN}${os.EOL}`, {
|
fs.appendFileSync(filePath, `ACTIONS_RUNTIME_TOKEN=${process.env.ACTIONS_RUNTIME_TOKEN}${os.EOL}`, {
|
||||||
|
|
Loading…
Reference in New Issue