From f8b5a36401de48c3bf2fda47a51b010350405163 Mon Sep 17 00:00:00 2001 From: peaceiris <30958501+peaceiris@users.noreply.github.com> Date: Thu, 6 Feb 2020 01:52:45 +0900 Subject: [PATCH] fix: add filePath --- src/git-utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/git-utils.ts b/src/git-utils.ts index 91de026..59c6b30 100644 --- a/src/git-utils.ts +++ b/src/git-utils.ts @@ -30,7 +30,8 @@ export async function copyAssets( if (file.endsWith('.git') || file.endsWith('.github')) { continue; } - await io.cp(file, `${workDir}/`, copyOpts); + const filePath = path.join(publishDir, file); + await io.cp(filePath, `${workDir}/`, copyOpts); core.info(`[INFO] copy ${file}`); }