1
0
Fork 0
mirror of https://github.com/actions/toolkit synced 2025-05-09 00:22:56 +00:00

Fixed test case for Windows env

This commit is contained in:
Sankalp Kotewar 2022-06-03 07:33:12 +00:00 committed by GitHub
parent 1fc4ec3274
commit a78bb30ca0

View file

@ -183,7 +183,7 @@ test('gzip create tar', async () => {
'-cf',
IS_WINDOWS ? CacheFilename.Gzip.replace(/\\/g, '/') : CacheFilename.Gzip,
'--exclude',
IS_WINDOWS ? CacheFilename.Zstd.replace(/\\/g, '/') : CacheFilename.Gzip,
IS_WINDOWS ? CacheFilename.Gzip.replace(/\\/g, '/') : CacheFilename.Gzip,
'-P',
'-C',
IS_WINDOWS ? workspace?.replace(/\\/g, '/') : workspace,