Use posix archive format (#533)

* Use posix archive format

Signed-off-by: Sora Morimoto <sora@morimoto.io>

* Update package.json and RELEASES.md

Signed-off-by: Sora Morimoto <sora@morimoto.io>
This commit is contained in:
Sora Morimoto
2020-08-06 00:17:23 +09:00
committed by GitHub
parent 6c5508d1fb
commit 9ad01e4fd3
5 changed files with 9 additions and 3 deletions

View File

@@ -135,6 +135,7 @@ test('zstd create tar', async () => {
expect(execMock).toHaveBeenCalledWith(
`"${tarPath}"`,
[
'--posix',
'--use-compress-program',
'zstd -T0 --long=30',
'-cf',
@@ -170,6 +171,7 @@ test('gzip create tar', async () => {
expect(execMock).toHaveBeenCalledWith(
`"${tarPath}"`,
[
'--posix',
'-z',
'-cf',
IS_WINDOWS ? CacheFilename.Gzip.replace(/\\/g, '/') : CacheFilename.Gzip,