Use posix archive format

This preserves timestamps with nanoseconds precision and makes the cache usable by tools which rely on it (eg https://www.scala-sbt.org/).
This commit is contained in:
OlegYch 2020-03-27 18:49:48 +03:00
parent eb78578266
commit 26c99606c4
4 changed files with 12 additions and 8 deletions

View file

@ -70,6 +70,7 @@ test("create tar", async () => {
expect(execMock).toHaveBeenCalledWith(
`"${tarPath}"`,
[
"--posix",
"-cz",
"-f",
CacheFilename,