1
0
Fork 0
toolkit/packages/cache/src/internal
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
..
cacheHttpClient.ts Cache package release for compression change in windows with symlink fix (#1291) 2023-01-04 12:16:25 +05:30
cacheUtils.ts Cache package release for compression change in windows with symlink fix (#1291) 2023-01-04 12:16:25 +05:30
constants.ts Cache package release for compression change in windows with symlink fix (#1291) 2023-01-04 12:16:25 +05:30
contracts.d.ts Cache package release for compression change in windows with symlink fix (#1291) 2023-01-04 12:16:25 +05:30
downloadUtils.ts Reverted to custom promise implementation 2022-08-11 04:43:43 +00:00
requestUtils.ts Update other packages to use http-client v2 (#1082) 2022-05-11 17:14:25 -04:00
tar.ts Don't set the MSYS env var globally (#1329) 2023-02-08 10:58:25 +05:30