Leave only basic comment about env variable change

This commit is contained in:
Jānis Baiža
2026-03-06 13:30:33 +00:00
committed by Benoit Daloze
parent 74138471e3
commit 6ca151fd1b
2 changed files with 2 additions and 8 deletions
Generated Vendored
+1 -4
View File
@@ -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')
+1 -4
View File
@@ -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')