Compare commits

...
3 Commits
Author SHA1 Message Date
Jānis Baiža 6ca151fd1b Leave only basic comment about env variable change 2026-03-06 13:30:33 +00:00
Jānis Baiža 74138471e3 Set HOME variable from OS information 2026-03-06 13:30:33 +00:00
Jānis Baiža b3cff1b264 Add support for Windows Server Standard Evaluation
blacksmith.sh runners use "Windows Server 2025 Standard Evaluation".
2026-03-06 13:30:33 +00:00
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ export function getOSNameVersionArch() {
function findWindowsVersion() {
const version = os.version()
const match = version.match(/^Windows(?: Server)? (\d+) (?:Datacenter|Enterprise)/)
const match = version.match(/^Windows(?: Server)? (\d+) (?:Standard|Datacenter|Enterprise)/)
if (match) {
return match[1]
} else {
Generated Vendored
+3 -3
View File
@@ -614,7 +614,7 @@ function getOSNameVersionArch() {
function findWindowsVersion() {
const version = os.version()
const match = version.match(/^Windows(?: Server)? (\d+) (?:Datacenter|Enterprise)/)
const match = version.match(/^Windows(?: Server)? (\d+) (?:Standard|Datacenter|Enterprise)/)
if (match) {
return match[1]
} else {
@@ -92706,8 +92706,8 @@ function envPreInstall() {
if (windows) {
// puts normal Ruby temp folder on SSD
core.exportVariable('TMPDIR', ENV['RUNNER_TEMP'])
// bash - sets home to match native windows, normally C:\Users\<user name>
core.exportVariable('HOME', ENV['HOMEDRIVE'] + ENV['HOMEPATH'])
// 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')
}
+2 -2
View File
@@ -219,8 +219,8 @@ function envPreInstall() {
if (windows) {
// puts normal Ruby temp folder on SSD
core.exportVariable('TMPDIR', ENV['RUNNER_TEMP'])
// bash - sets home to match native windows, normally C:\Users\<user name>
core.exportVariable('HOME', ENV['HOMEDRIVE'] + ENV['HOMEPATH'])
// 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')
}