add subdirectories in archives
This commit is contained in:
+3
-2
@@ -48,7 +48,7 @@ export async function createArchives(
|
||||
})
|
||||
|
||||
archive.pipe(output)
|
||||
archive.directory(distPath, false)
|
||||
archive.directory(distPath, 'action')
|
||||
archive.finalize()
|
||||
})
|
||||
|
||||
@@ -58,7 +58,8 @@ export async function createArchives(
|
||||
{
|
||||
file: tarPath,
|
||||
C: distPath,
|
||||
gzip: true
|
||||
gzip: true,
|
||||
prefix: 'action'
|
||||
},
|
||||
['.']
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user