mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-22 20:58:05 +08:00
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:
2
packages/cache/__tests__/tar.test.ts
vendored
2
packages/cache/__tests__/tar.test.ts
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user