debug
This commit is contained in:
parent
418a29d1a0
commit
7ee036d7e7
6 changed files with 11 additions and 10 deletions
5
index.js
5
index.js
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue