From 6ca151fd1bfcfd6fe0c4eb6837eb0584d0134a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ja=CC=84nis=20Baiz=CC=8Ca?= Date: Fri, 6 Mar 2026 12:49:23 +0200 Subject: [PATCH] Leave only basic comment about env variable change --- dist/index.js | 5 +---- index.js | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) 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')