1
0
Fork 0
toolkit/packages/cache/__tests__
Christoph Reiter ea21da6993
Don't set the MSYS env var globally (#1329)
b2d865f180 introduced a call to exportVariable() to export the MSYS env
var, which configures the symlink strategy for MSYS2/cygwin binaries it calls.

By setting the env var globally, this also changes the behaviour of other MSYS2
using tools in a CI job, and also overrides MSYS configuration set by the user,
which I think was not intended.

To avoid this leakage set the MSYS env var only for the commands which
@actions/cache calls.

Fixes #1312
2023-02-08 10:58:25 +05:30
..
__fixtures__ Adding support in cache package to check if Artifact Cache service is enabled or not (#1028) 2022-03-25 14:40:02 +05:30
cache.test.ts Adding support in cache package to check if Artifact Cache service is enabled or not (#1028) 2022-03-25 14:40:02 +05:30
cacheHttpClient.test.ts Cache package release for compression change in windows with symlink fix (#1291) 2023-01-04 12:16:25 +05:30
cacheUtils.test.ts Change testcase to test against github workspace directory instead of current directory 2022-07-20 05:25:47 +00:00
create-cache-files.sh React to feedback 2020-05-15 12:26:42 -04:00
downloadUtils.test.ts Re-enable the audit tools step and update dependencies (#815) 2021-05-21 09:19:40 -04:00
options.test.ts Updated cache download to segment download 2022-08-18 05:32:49 +00:00
requestUtils.test.ts Added cacheSize in ReserveCache API request (#1044) 2022-04-04 16:21:58 +05:30
restoreCache.test.ts Cache package release for compression change in windows with symlink fix (#1291) 2023-01-04 12:16:25 +05:30
saveCache.test.ts Cache package release for compression change in windows with symlink fix (#1291) 2023-01-04 12:16:25 +05:30
tar.test.ts Don't set the MSYS env var globally (#1329) 2023-02-08 10:58:25 +05:30
verify-cache-files.sh React to feedback 2020-05-15 12:26:42 -04:00