fix: add filePath

This commit is contained in:
peaceiris 2020-02-06 01:52:45 +09:00
parent 848165cf9f
commit f8b5a36401
1 changed files with 2 additions and 1 deletions

View File

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