mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-03 20:33:17 +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:
1
packages/cache/src/internal/tar.ts
vendored
1
packages/cache/src/internal/tar.ts
vendored
@@ -101,6 +101,7 @@ export async function createTar(
|
||||
}
|
||||
}
|
||||
const args = [
|
||||
'--posix',
|
||||
...getCompressionProgram(),
|
||||
'-cf',
|
||||
cacheFileName.replace(new RegExp(`\\${path.sep}`, 'g'), '/'),
|
||||
|
||||
Reference in New Issue
Block a user