Compare commits

...

21 Commits

Author SHA1 Message Date
github-actions[bot]
018c97355d
Update versions-manifest (#219)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-09-03 23:26:34 -05:00
github-actions[bot]
82b9d6eb7f
Update versions-manifest (#218)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-08-28 22:12:39 -05:00
github-actions[bot]
6c1dcef7e3
Update versions-manifest (#217)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-08-27 22:08:47 -05:00
github-actions[bot]
414aa4b42d
Update versions-manifest (#216)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-08-14 22:50:37 -05:00
Haritha
05932b3923
Change schedule (#215) 2025-08-05 13:35:12 -05:00
github-actions[bot]
8bc7882285
Update versions-manifest (#214)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-08-03 21:35:21 -05:00
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
github-actions[bot]
7bff9a2a32
Update versions-manifest (#210)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-06-25 09:05:54 -05:00
github-actions[bot]
ef431e4d6b
Update versions-manifest (#209)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-06-23 22:51:26 -05:00
github-actions[bot]
498365717c
Update versions-manifest (#208)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-06-09 23:32:28 -05:00
github-actions[bot]
8c7740e607
Update versions-manifest (#207) 2025-05-25 23:33:53 -05:00
github-actions[bot]
6fda0935f2
Update versions-manifest (#206)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-05-15 09:15:18 -05:00
github-actions[bot]
e25da9dc7c
Update versions-manifest (#205)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-05-12 07:36:30 -05:00
github-actions[bot]
3de2515c74
Update versions-manifest (#204)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-05-06 22:38:45 -05:00
github-actions[bot]
89d81124fa
Update versions-manifest (#203)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-04-23 11:16:08 -05:00
github-actions[bot]
c5d5eb32a4
Update versions-manifest (#202)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-04-22 22:39:07 -05:00
github-actions[bot]
48b638b2a7
Update versions-manifest (#201)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-03-27 23:21:45 -05:00
github-actions[bot]
70176e8e7f
Update versions-manifest (#200)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-03-13 22:09:00 -05:00
github-actions[bot]
b8e2e0988f
Update versions-manifest (#199)
Co-authored-by: Service account <no-reply@microsoft.com>
2025-02-20 22:07:32 -06:00
3 changed files with 1147 additions and 9 deletions

View File

@ -1,7 +1,7 @@
name: Get Node versions
on:
schedule:
- cron: '0 3,15 * * *'
- cron: '0 0,12 * * *'
workflow_dispatch:
jobs:
@ -10,4 +10,4 @@ jobs:
with:
tool-name: "Node"
image-url: "https://nodejs.org/static/images/logo-hexagon-card.png"
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"
}
}
}

File diff suppressed because it is too large Load Diff