feat: Add destination_dir option (#403)

Related to #324 #390
This commit is contained in:
Shohei Ueda
2020-07-21 11:15:53 +09:00
committed by GitHub
parent 0cb61e91a5
commit f30118c78e
9 changed files with 93 additions and 20 deletions

View File

@@ -23,9 +23,9 @@ export async function getWorkDirName(unixTime: string): Promise<string> {
return workDirName;
}
export async function createWorkDir(workDirName: string): Promise<void> {
await io.mkdirP(workDirName);
core.debug(`Created: ${workDirName}`);
export async function createDir(dirPath: string): Promise<void> {
await io.mkdirP(dirPath);
core.debug(`Created directory ${dirPath}`);
return;
}