mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 06:34:19 +02:00
Leave only basic comment about env variable change
This commit is contained in:
committed by
Benoit Daloze
parent
74138471e3
commit
6ca151fd1b
+1
-4
@@ -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')
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user