fix
This commit is contained in:
parent
ef78fd9c8a
commit
d520205885
8 changed files with 62 additions and 81955 deletions
8
dist/main/index.js
vendored
8
dist/main/index.js
vendored
|
|
@ -97046,20 +97046,22 @@ async function restoreCache(cacheConfig) {
|
|||
|
||||
async function startRemoteCacheServer() {
|
||||
core.startGroup("Remote cache server")
|
||||
|
||||
|
||||
core.debug(`Remote cache server log file path: ${config.remoteCacheServer.logPath}`)
|
||||
const log = fs.openSync(config.remoteCacheServer.logPath, 'a')
|
||||
const serverProcess = fork(path.join(__dirname, 'dist', 'remote-cache-server', 'index.js'), [], {
|
||||
const serverProcess = fork(__nccwpck_require__.ab + "remote-cache-server.js", [], {
|
||||
detached: true,
|
||||
stdio: ['ignore', log, log, 'ipc']
|
||||
})
|
||||
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()
|
||||
}
|
||||
|
||||
run()
|
||||
|
||||
})();
|
||||
|
||||
module.exports = __webpack_exports__;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue