This commit is contained in:
Alex Rodionov 2024-05-30 20:45:14 -07:00
parent 5cea67652c
commit d683b61ff3
6 changed files with 8 additions and 8 deletions

4
dist/main/index.js vendored
View file

@ -97058,9 +97058,9 @@ async function startRemoteCacheServer() {
}
core.startGroup("Remote cache server")
core.info(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
core.info(`Remote cache server log file path: ${config.remoteCache.logPath}`)
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
const log = fs.openSync(config.remoteCache.logPath, 'a')
const remoteCacheServer = path.join(__dirname, '..', 'remote-cache-server', 'index.js')
const serverProcess = spawn(process.execPath, [remoteCacheServer], {
detached: true,

File diff suppressed because one or more lines are too long

2
dist/post/index.js vendored
View file

@ -95970,7 +95970,7 @@ async function stopRemoteCacheServer() {
}
}
const logPath = config.remoteCacheServer.logPath
const logPath = config.remoteCache.logPath
if (fs.existsSync(logPath)) {
const logContent = fs.readFileSync(logPath, 'utf8')
core.debug(`Remote cache server log:\n${logContent}`)

File diff suppressed because one or more lines are too long

View file

@ -183,9 +183,9 @@ async function startRemoteCacheServer() {
}
core.startGroup("Remote cache server")
core.info(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
core.info(`Remote cache server log file path: ${config.remoteCache.logPath}`)
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
const log = fs.openSync(config.remoteCache.logPath, 'a')
const remoteCacheServer = path.join(__dirname, '..', 'remote-cache-server', 'index.js')
const serverProcess = spawn(process.execPath, [remoteCacheServer], {
detached: true,

View file

@ -26,7 +26,7 @@ async function stopRemoteCacheServer() {
}
}
const logPath = config.remoteCacheServer.logPath
const logPath = config.remoteCache.logPath
if (fs.existsSync(logPath)) {
const logContent = fs.readFileSync(logPath, 'utf8')
core.debug(`Remote cache server log:\n${logContent}`)