Compare commits

...

4 Commits

Author SHA1 Message Date
Priya Gupta
e517f1fe7a Test macos-14-large runner 2025-07-25 13:47:05 +05:30
github-actions[bot]
447f233d8c Update versions-manifest (#213)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-07-16 09:19:10 -05:00
github-actions[bot]
48d06ac109 Update versions-manifest (#212)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-07-10 22:35:01 -05:00
Haritha
2f48f5f179 Add new logs path related to runner migration (#211)
* Update paths

* update logic

* Updated logic

* Update log

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-10 21:36:51 -05:00
3 changed files with 200 additions and 9 deletions

View File

@@ -23,9 +23,9 @@ on:
jobs:
node:
name: Node
uses: actions/versions-package-tools/.github/workflows/build-tool-packages.yml@main
uses: actions/versions-package-tools/.github/workflows/build-tool-packages.yml@test-macos-x64-runner
with:
tool-name: "node"
tool-version: ${{ inputs.VERSION || '18.12.0' }}
publish-release: ${{ inputs.PUBLISH_RELEASES || false }}
secrets: inherit
secrets: inherit

View File

@@ -8,13 +8,30 @@ Describe "Node.js" {
function Get-UseNodeLogs {
# GitHub Windows images don't have `HOME` variable
$homeDir = $env:HOME ?? $env:HOMEDRIVE
$logsFolderPath = Join-Path -Path $homeDir -ChildPath "runners/*/_diag/pages" -Resolve
$useNodeLogFile = Get-ChildItem -Path $logsFolderPath | Where-Object {
$logContent = Get-Content $_.Fullname -Raw
return $logContent -match "setup-node@v"
} | Select-Object -First 1
return $useNodeLogFile.Fullname
$possiblePaths = @(
Join-Path -Path $homeDir -ChildPath "actions-runner/cached/_diag/pages"
Join-Path -Path $homeDir -ChildPath "runners/*/_diag/pages"
)
$logsFolderPath = $possiblePaths | Where-Object { Test-Path $_ } | Select-Object -First 1
$resolvedPath = Resolve-Path -Path $logsFolderPath -ErrorAction SilentlyContinue
if ($resolvedPath -and -not [string]::IsNullOrEmpty($resolvedPath.Path) -and (Test-Path $resolvedPath.Path)) {
$useNodeLogFile = Get-ChildItem -Path $resolvedPath | Where-Object {
$logContent = Get-Content $_.Fullname -Raw
return $logContent -match "setup-node@v"
} | Select-Object -First 1
# Return the file name if a match is found
if ($useNodeLogFile) {
return $useNodeLogFile.FullName
} else {
Write-Error "No matching log file found in the specified path: $($resolvedPath.Path)"
}
} else {
Write-Error "The provided logs folder path is null, empty, or does not exist: $logsFolderPath"
}
}
}

View File

@@ -1,4 +1,90 @@
[
{
"version": "24.4.1",
"stable": true,
"release_url": "https://github.com/actions/node-versions/releases/tag/24.4.1-16309768053",
"files": [
{
"filename": "node-24.4.1-darwin-arm64.tar.gz",
"arch": "arm64",
"platform": "darwin",
"download_url": "https://github.com/actions/node-versions/releases/download/24.4.1-16309768053/node-24.4.1-darwin-arm64.tar.gz"
},
{
"filename": "node-24.4.1-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/node-versions/releases/download/24.4.1-16309768053/node-24.4.1-darwin-x64.tar.gz"
},
{
"filename": "node-24.4.1-linux-arm64.tar.gz",
"arch": "arm64",
"platform": "linux",
"download_url": "https://github.com/actions/node-versions/releases/download/24.4.1-16309768053/node-24.4.1-linux-arm64.tar.gz"
},
{
"filename": "node-24.4.1-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/node-versions/releases/download/24.4.1-16309768053/node-24.4.1-linux-x64.tar.gz"
},
{
"filename": "node-24.4.1-win32-arm64.7z",
"arch": "arm64",
"platform": "win32",
"download_url": "https://github.com/actions/node-versions/releases/download/24.4.1-16309768053/node-24.4.1-win32-arm64.7z"
},
{
"filename": "node-24.4.1-win32-x64.7z",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/node-versions/releases/download/24.4.1-16309768053/node-24.4.1-win32-x64.7z"
}
]
},
{
"version": "24.4.0",
"stable": true,
"release_url": "https://github.com/actions/node-versions/releases/tag/24.4.0-16210503505",
"files": [
{
"filename": "node-24.4.0-darwin-arm64.tar.gz",
"arch": "arm64",
"platform": "darwin",
"download_url": "https://github.com/actions/node-versions/releases/download/24.4.0-16210503505/node-24.4.0-darwin-arm64.tar.gz"
},
{
"filename": "node-24.4.0-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/node-versions/releases/download/24.4.0-16210503505/node-24.4.0-darwin-x64.tar.gz"
},
{
"filename": "node-24.4.0-linux-arm64.tar.gz",
"arch": "arm64",
"platform": "linux",
"download_url": "https://github.com/actions/node-versions/releases/download/24.4.0-16210503505/node-24.4.0-linux-arm64.tar.gz"
},
{
"filename": "node-24.4.0-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/node-versions/releases/download/24.4.0-16210503505/node-24.4.0-linux-x64.tar.gz"
},
{
"filename": "node-24.4.0-win32-arm64.7z",
"arch": "arm64",
"platform": "win32",
"download_url": "https://github.com/actions/node-versions/releases/download/24.4.0-16210503505/node-24.4.0-win32-arm64.7z"
},
{
"filename": "node-24.4.0-win32-x64.7z",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/node-versions/releases/download/24.4.0-16210503505/node-24.4.0-win32-x64.7z"
}
]
},
{
"version": "24.3.0",
"stable": true,
@@ -257,6 +343,50 @@
}
]
},
{
"version": "22.17.1",
"stable": true,
"lts": "Jod",
"release_url": "https://github.com/actions/node-versions/releases/tag/22.17.1-16309770702",
"files": [
{
"filename": "node-22.17.1-darwin-arm64.tar.gz",
"arch": "arm64",
"platform": "darwin",
"download_url": "https://github.com/actions/node-versions/releases/download/22.17.1-16309770702/node-22.17.1-darwin-arm64.tar.gz"
},
{
"filename": "node-22.17.1-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/node-versions/releases/download/22.17.1-16309770702/node-22.17.1-darwin-x64.tar.gz"
},
{
"filename": "node-22.17.1-linux-arm64.tar.gz",
"arch": "arm64",
"platform": "linux",
"download_url": "https://github.com/actions/node-versions/releases/download/22.17.1-16309770702/node-22.17.1-linux-arm64.tar.gz"
},
{
"filename": "node-22.17.1-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/node-versions/releases/download/22.17.1-16309770702/node-22.17.1-linux-x64.tar.gz"
},
{
"filename": "node-22.17.1-win32-arm64.7z",
"arch": "arm64",
"platform": "win32",
"download_url": "https://github.com/actions/node-versions/releases/download/22.17.1-16309770702/node-22.17.1-win32-arm64.7z"
},
{
"filename": "node-22.17.1-win32-x64.7z",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/node-versions/releases/download/22.17.1-16309770702/node-22.17.1-win32-x64.7z"
}
]
},
{
"version": "22.17.0",
"stable": true,
@@ -1225,6 +1355,50 @@
}
]
},
{
"version": "20.19.4",
"stable": true,
"lts": "Iron",
"release_url": "https://github.com/actions/node-versions/releases/tag/20.19.4-16309772647",
"files": [
{
"filename": "node-20.19.4-darwin-arm64.tar.gz",
"arch": "arm64",
"platform": "darwin",
"download_url": "https://github.com/actions/node-versions/releases/download/20.19.4-16309772647/node-20.19.4-darwin-arm64.tar.gz"
},
{
"filename": "node-20.19.4-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/node-versions/releases/download/20.19.4-16309772647/node-20.19.4-darwin-x64.tar.gz"
},
{
"filename": "node-20.19.4-linux-arm64.tar.gz",
"arch": "arm64",
"platform": "linux",
"download_url": "https://github.com/actions/node-versions/releases/download/20.19.4-16309772647/node-20.19.4-linux-arm64.tar.gz"
},
{
"filename": "node-20.19.4-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/node-versions/releases/download/20.19.4-16309772647/node-20.19.4-linux-x64.tar.gz"
},
{
"filename": "node-20.19.4-win32-arm64.7z",
"arch": "arm64",
"platform": "win32",
"download_url": "https://github.com/actions/node-versions/releases/download/20.19.4-16309772647/node-20.19.4-win32-arm64.7z"
},
{
"filename": "node-20.19.4-win32-x64.7z",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/node-versions/releases/download/20.19.4-16309772647/node-20.19.4-win32-x64.7z"
}
]
},
{
"version": "20.19.3",
"stable": true,