1
0
Fork 0
pull/1028/head
Shubham Tiwari 2022-03-23 02:53:18 +05:30
parent 429adbf862
commit 05f407f4ff
2 changed files with 2 additions and 5 deletions

View File

@ -3,9 +3,6 @@
const fs = require('fs');
const os = require('os');
const filePath = process.env[`GITHUB_ENV`]
fs.appendFileSync(filePath, `ACTIONS_RUNTIME_URL=${process.env.ACTIONS_RUNTIME_URL}${os.EOL}`, {
encoding: 'utf8'
})
fs.appendFileSync(filePath, `ACTIONS_RUNTIME_TOKEN=${process.env.ACTIONS_RUNTIME_TOKEN}${os.EOL}`, {
encoding: 'utf8'
})

View File

@ -49,7 +49,7 @@ function checkKey(key: string): void {
* @returns boolean return true if Artifact cache service is enable, otherwise false
*/
export function isEnable(): boolean {
export function isEnable(): boolean {
if (process.env['ACTIONS_CACHE_URL']) {
return true
}