Skip to content

Commit da4f09b

Browse files
committed
Fix path issue.
1 parent 9a14492 commit da4f09b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ export async function listActions(actionPath: string): Promise<Map<string, Actio
306306
*/
307307
export async function createArchive(archivePath: string, sourceDir: string): Promise<void> {
308308
try {
309-
const command = `tar --zstd -C ${sourceDir} -cf ${archivePath} .`;
309+
const command = `tar -P --zstd -cf ${archivePath} ${sourceDir}`;
310310
console.log(`About to run command: ${command}`);
311311
} catch (error) {
312312
console.error('Error creating archive:', error);

0 commit comments

Comments
 (0)