debug
This commit is contained in:
parent
418a29d1a0
commit
7ee036d7e7
6 changed files with 11 additions and 10 deletions
7
dist/main/index.js
vendored
7
dist/main/index.js
vendored
|
|
@ -97047,15 +97047,14 @@ 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(__nccwpck_require__.ab + "remote-cache-server.js", [], {
|
||||
detached: true,
|
||||
stdio: ['ignore', log, log, 'ipc']
|
||||
stdio: ['ignore', log, log]
|
||||
})
|
||||
serverProcess.unref()
|
||||
|
||||
core.info(`Started remote cache server (${serverProcess.pid}`)
|
||||
core.info(`Started remote cache server (${serverProcess.pid})`)
|
||||
core.saveState('remote-cache-server-pid', serverProcess.pid.toString())
|
||||
core.endGroup()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue