diff --git a/dist/index.js b/dist/index.js index dba1be0..9c29a5f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -92706,10 +92706,7 @@ function envPreInstall() { if (windows) { // puts normal Ruby temp folder on SSD core.exportVariable('TMPDIR', ENV['RUNNER_TEMP']) - // Use os.homedir() which calls the Windows API (SHGetFolderPath) directly. - // Env-based approaches (USERPROFILE, HOMEDRIVE+HOMEPATH) are unreliable on some - // runners (e.g. Blacksmith) where these vars are unset, causing NaN which - // JSON.stringify serializes to "null". + // bash - sets home to match native windows core.exportVariable('HOME', os.homedir()) // bash - needed to maintain Path from Windows core.exportVariable('MSYS2_PATH_TYPE', 'inherit') diff --git a/index.js b/index.js index fc8bbe6..e898dbb 100644 --- a/index.js +++ b/index.js @@ -219,10 +219,7 @@ function envPreInstall() { if (windows) { // puts normal Ruby temp folder on SSD core.exportVariable('TMPDIR', ENV['RUNNER_TEMP']) - // Use os.homedir() which calls the Windows API (SHGetFolderPath) directly. - // Env-based approaches (USERPROFILE, HOMEDRIVE+HOMEPATH) are unreliable on some - // runners (e.g. Blacksmith) where these vars are unset, causing NaN which - // JSON.stringify serializes to "null". + // bash - sets home to match native windows core.exportVariable('HOME', os.homedir()) // bash - needed to maintain Path from Windows core.exportVariable('MSYS2_PATH_TYPE', 'inherit')