Skip to content

Commit f8b5a36

Browse files
committed
fix: add filePath
1 parent 848165c commit f8b5a36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/git-utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export async function copyAssets(
3030
if (file.endsWith('.git') || file.endsWith('.github')) {
3131
continue;
3232
}
33-
await io.cp(file, `${workDir}/`, copyOpts);
33+
const filePath = path.join(publishDir, file);
34+
await io.cp(filePath, `${workDir}/`, copyOpts);
3435
core.info(`[INFO] copy ${file}`);
3536
}
3637

0 commit comments

Comments
 (0)