mirror of
https://github.com/actions/go-versions.git
synced 2026-01-29 05:28:35 +00:00
Compare commits
3 Commits
1.25.5-198
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6dbdff4503 | ||
|
|
0e494735ab | ||
|
|
cfaea8634b |
@@ -8,15 +8,26 @@ Describe "Go" {
|
||||
$sourceLocation = Get-Location
|
||||
|
||||
function Get-UseGoLogs {
|
||||
# GitHub Windows images don't have `HOME` variable
|
||||
$homeDir = $env:HOME ?? $env:HOMEDRIVE
|
||||
$possiblePaths = @(
|
||||
Join-Path -Path $homeDir -ChildPath "actions-runner/cached/_diag/pages"
|
||||
Join-Path -Path $homeDir -ChildPath "runners/*/_diag/pages"
|
||||
)
|
||||
$runnerProc = Get-Process -Name "Runner.Listener" -ErrorAction SilentlyContinue | Select-Object -First 1
|
||||
#Write-Host "`$runnerProc: $($runnerProc | Out-String)"
|
||||
if (-not $runnerProc -or -not $runnerProc.Path) {
|
||||
Write-Error "Runner.Listener process not found."
|
||||
return
|
||||
}
|
||||
# Go up two directories to get runner root
|
||||
$runnerRoot = Split-Path (Split-Path $runnerProc.Path -Parent) -Parent
|
||||
#Write-Host "`$runnerRoot: $runnerRoot"
|
||||
# Recursively find all _diag/pages folders under the runner root directory
|
||||
$possiblePaths = Get-ChildItem -Path $runnerRoot -Directory -Recurse -Depth 4 -ErrorAction SilentlyContinue |
|
||||
Where-Object { $_.FullName -like "*_diag\pages" -or $_.FullName -like "*_diag/pages" }
|
||||
Write-Host "LogsPaths:"
|
||||
$possiblePaths | ForEach-Object { Write-Host $_.FullName }
|
||||
|
||||
|
||||
$logsFolderPath = $possiblePaths | Where-Object { Test-Path $_ } | Select-Object -First 1
|
||||
$resolvedPath = Resolve-Path -Path $logsFolderPath -ErrorAction SilentlyContinue
|
||||
if ($logsFolderPath) {
|
||||
$resolvedPath = Resolve-Path -Path $logsFolderPath -ErrorAction SilentlyContinue
|
||||
}
|
||||
|
||||
if ($resolvedPath -and -not [string]::IsNullOrEmpty($resolvedPath.Path) -and (Test-Path $resolvedPath.Path)) {
|
||||
$useGoLogFile = Get-ChildItem -Path $resolvedPath | Where-Object {
|
||||
|
||||
@@ -1,4 +1,90 @@
|
||||
[
|
||||
{
|
||||
"version": "1.25.6",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/go-versions/releases/tag/1.25.6-21053840953",
|
||||
"files": [
|
||||
{
|
||||
"filename": "go-1.25.6-darwin-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.25.6-21053840953/go-1.25.6-darwin-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.25.6-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.25.6-21053840953/go-1.25.6-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.25.6-linux-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.25.6-21053840953/go-1.25.6-linux-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.25.6-linux-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.25.6-21053840953/go-1.25.6-linux-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.25.6-win32-arm64.zip",
|
||||
"arch": "arm64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.25.6-21053840953/go-1.25.6-win32-arm64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.25.6-win32-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.25.6-21053840953/go-1.25.6-win32-x64.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "1.25.5",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/go-versions/releases/tag/1.25.5-19880500865",
|
||||
"files": [
|
||||
{
|
||||
"filename": "go-1.25.5-darwin-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.25.5-19880500865/go-1.25.5-darwin-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.25.5-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.25.5-19880500865/go-1.25.5-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.25.5-linux-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.25.5-19880500865/go-1.25.5-linux-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.25.5-linux-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.25.5-19880500865/go-1.25.5-linux-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.25.5-win32-arm64.zip",
|
||||
"arch": "arm64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.25.5-19880500865/go-1.25.5-win32-arm64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.25.5-win32-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.25.5-19880500865/go-1.25.5-win32-x64.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "1.25.4",
|
||||
"stable": true,
|
||||
@@ -214,6 +300,92 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "1.24.12",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/go-versions/releases/tag/1.24.12-21053836768",
|
||||
"files": [
|
||||
{
|
||||
"filename": "go-1.24.12-darwin-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.24.12-21053836768/go-1.24.12-darwin-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.24.12-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.24.12-21053836768/go-1.24.12-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.24.12-linux-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.24.12-21053836768/go-1.24.12-linux-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.24.12-linux-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.24.12-21053836768/go-1.24.12-linux-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.24.12-win32-arm64.zip",
|
||||
"arch": "arm64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.24.12-21053836768/go-1.24.12-win32-arm64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.24.12-win32-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.24.12-21053836768/go-1.24.12-win32-x64.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "1.24.11",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/go-versions/releases/tag/1.24.11-19880504225",
|
||||
"files": [
|
||||
{
|
||||
"filename": "go-1.24.11-darwin-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.24.11-19880504225/go-1.24.11-darwin-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.24.11-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.24.11-19880504225/go-1.24.11-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.24.11-linux-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.24.11-19880504225/go-1.24.11-linux-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.24.11-linux-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.24.11-19880504225/go-1.24.11-linux-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.24.11-win32-arm64.zip",
|
||||
"arch": "arm64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.24.11-19880504225/go-1.24.11-win32-arm64.zip"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.24.11-win32-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.24.11-19880504225/go-1.24.11-win32-x64.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "1.24.10",
|
||||
"stable": true,
|
||||
|
||||
Reference in New Issue
Block a user