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}`); }