mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2025-08-18 03:35:52 +08:00
Fixed test case for Windows env
This commit is contained in:
parent
1fc4ec3274
commit
a78bb30ca0
2
packages/cache/__tests__/tar.test.ts
vendored
2
packages/cache/__tests__/tar.test.ts
vendored
@ -183,7 +183,7 @@ test('gzip create tar', async () => {
|
|||||||
'-cf',
|
'-cf',
|
||||||
IS_WINDOWS ? CacheFilename.Gzip.replace(/\\/g, '/') : CacheFilename.Gzip,
|
IS_WINDOWS ? CacheFilename.Gzip.replace(/\\/g, '/') : CacheFilename.Gzip,
|
||||||
'--exclude',
|
'--exclude',
|
||||||
IS_WINDOWS ? CacheFilename.Zstd.replace(/\\/g, '/') : CacheFilename.Gzip,
|
IS_WINDOWS ? CacheFilename.Gzip.replace(/\\/g, '/') : CacheFilename.Gzip,
|
||||||
'-P',
|
'-P',
|
||||||
'-C',
|
'-C',
|
||||||
IS_WINDOWS ? workspace?.replace(/\\/g, '/') : workspace,
|
IS_WINDOWS ? workspace?.replace(/\\/g, '/') : workspace,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user