This commit is contained in:
Alex Rodionov 2024-05-30 15:35:54 -07:00
parent 418a29d1a0
commit 7ee036d7e7
6 changed files with 11 additions and 10 deletions

View file

@ -181,11 +181,10 @@ async function restoreCache(cacheConfig) {
async function startRemoteCacheServer() {
core.startGroup("Remote cache server")
core.debug(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
core.info(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
const serverProcess = fork(path.join(__dirname, 'remote-cache-server.js'), [], {
detached: true,
stdio: ['ignore', log, log, 'ipc']
stdio: ['ignore', log, log]
})
serverProcess.unref()