修改docker文件拷贝bug
Continuous Integration / GitHub Actions Test (push) Successful in 32s
Details
Continuous Integration / GitHub Actions Test (push) Successful in 32s
Details
This commit is contained in:
parent
5659b7f144
commit
1cecff20cc
|
@ -80813,10 +80813,11 @@ async function run() {
|
|||
if (!filepath) {
|
||||
throw new Error(`Failed to download`);
|
||||
}
|
||||
const dockerexec = path_1.default.join(filepath, 'docker');
|
||||
core.info(`copy file from ${dockerexec} to ${BinDir}`);
|
||||
fs_1.default.copyFileSync(dockerexec, BinDir);
|
||||
core.info(`Success Installed to ${BinDir}`);
|
||||
const dockerexecPath = path_1.default.join(filepath, 'docker');
|
||||
const binPath = path_1.default.join(BinDir, BinName);
|
||||
core.info(`copy file from ${dockerexecPath} to ${binPath}`);
|
||||
fs_1.default.copyFileSync(dockerexecPath, binPath);
|
||||
core.info(`Success Installed to ${binPath}`);
|
||||
// 保存到缓存
|
||||
await cache.saveCache([BinDir], ck);
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -34,10 +34,11 @@ export async function run(): Promise<void> {
|
|||
if (!filepath) {
|
||||
throw new Error(`Failed to download`)
|
||||
}
|
||||
const dockerexec = path.join(filepath, 'docker')
|
||||
core.info(`copy file from ${dockerexec} to ${BinDir}`)
|
||||
fs.copyFileSync(dockerexec, BinDir)
|
||||
core.info(`Success Installed to ${BinDir}`)
|
||||
const dockerexecPath = path.join(filepath, 'docker')
|
||||
const binPath = path.join(BinDir, BinName)
|
||||
core.info(`copy file from ${dockerexecPath} to ${binPath}`)
|
||||
fs.copyFileSync(dockerexecPath, binPath)
|
||||
core.info(`Success Installed to ${binPath}`)
|
||||
// 保存到缓存
|
||||
await cache.saveCache([BinDir], ck)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue