mirror of
https://github.com/actions/go-versions.git
synced 2026-02-08 15:23:35 +08:00
Compare commits
6 Commits
1.21.4-679
...
1.20.14-78
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
de9a0fc11e | ||
|
|
2344cc872a | ||
|
|
1635b75524 | ||
|
|
2935e07892 | ||
|
|
8196b0fc6b | ||
|
|
6de71f133a |
@@ -44,7 +44,7 @@ class NixGoBuilder : GoBuilder {
|
|||||||
$installationTemplateLocation = Join-Path -Path $this.InstallationTemplatesLocation -ChildPath $this.InstallationTemplateName
|
$installationTemplateLocation = Join-Path -Path $this.InstallationTemplatesLocation -ChildPath $this.InstallationTemplateName
|
||||||
|
|
||||||
$installationTemplateContent = Get-Content -Path $installationTemplateLocation -Raw
|
$installationTemplateContent = Get-Content -Path $installationTemplateLocation -Raw
|
||||||
$installationTemplateContent = $installationTemplateContent -f $this.Version.ToString(3)
|
$installationTemplateContent = $installationTemplateContent -f $this.Version.ToString(3), $this.Architecture
|
||||||
$installationTemplateContent | Out-File -FilePath $installationScriptLocation
|
$installationTemplateContent | Out-File -FilePath $installationScriptLocation
|
||||||
|
|
||||||
Write-Debug "Done; Installation script location: $installationScriptLocation)"
|
Write-Debug "Done; Installation script location: $installationScriptLocation)"
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
GO_VERSION={0}
|
GO_VERSION={0}
|
||||||
|
ARCH={1}
|
||||||
|
|
||||||
GO_TOOLCACHE_PATH=$AGENT_TOOLSDIRECTORY/go
|
GO_TOOLCACHE_PATH=$AGENT_TOOLSDIRECTORY/go
|
||||||
GO_TOOLCACHE_VERSION_PATH=$GO_TOOLCACHE_PATH/$GO_VERSION
|
GO_TOOLCACHE_VERSION_PATH=$GO_TOOLCACHE_PATH/$GO_VERSION
|
||||||
GO_TOOLCACHE_VERSION_ARCH_PATH=$GO_TOOLCACHE_VERSION_PATH/x64
|
GO_TOOLCACHE_VERSION_ARCH_PATH=$GO_TOOLCACHE_VERSION_PATH/$ARCH
|
||||||
|
|
||||||
echo "Check if Go hostedtoolcache folder exist..."
|
echo "Check if Go hostedtoolcache folder exist..."
|
||||||
if [ ! -d $GO_TOOLCACHE_PATH ]; then
|
if [ ! -d $GO_TOOLCACHE_PATH ]; then
|
||||||
@@ -22,4 +23,4 @@ cp -R ./* $GO_TOOLCACHE_VERSION_ARCH_PATH
|
|||||||
rm $GO_TOOLCACHE_VERSION_ARCH_PATH/setup.sh
|
rm $GO_TOOLCACHE_VERSION_ARCH_PATH/setup.sh
|
||||||
|
|
||||||
echo "Create complete file"
|
echo "Create complete file"
|
||||||
touch $GO_TOOLCACHE_VERSION_PATH/x64.complete
|
touch $GO_TOOLCACHE_VERSION_PATH/$ARCH.complete
|
||||||
|
|||||||
@@ -1,32 +1,125 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"version": "1.21.6",
|
||||||
|
"stable": true,
|
||||||
|
"release_url": "https://github.com/actions/go-versions/releases/tag/1.21.6-7474093871",
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filename": "go-1.21.6-darwin-arm64.tar.gz",
|
||||||
|
"arch": "arm64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.6-7474093871/go-1.21.6-darwin-arm64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.21.6-darwin-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.6-7474093871/go-1.21.6-darwin-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.21.6-linux-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "linux",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.6-7474093871/go-1.21.6-linux-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.21.6-win32-x64.zip",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "win32",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.6-7474093871/go-1.21.6-win32-x64.zip"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"version": "1.21.5",
|
||||||
|
"stable": true,
|
||||||
|
"release_url": "https://github.com/actions/go-versions/releases/tag/1.21.5-7112568416",
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filename": "go-1.21.5-darwin-arm64.tar.gz",
|
||||||
|
"arch": "arm64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.5-7112568416/go-1.21.5-darwin-arm64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.21.5-darwin-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.5-7112568416/go-1.21.5-darwin-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.21.5-linux-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "linux",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.5-7112568416/go-1.21.5-linux-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.21.5-win32-x64.zip",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "win32",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.5-7112568416/go-1.21.5-win32-x64.zip"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"version": "1.21.4",
|
||||||
|
"stable": true,
|
||||||
|
"release_url": "https://github.com/actions/go-versions/releases/tag/1.21.4-6807962903",
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filename": "go-1.21.4-darwin-arm64.tar.gz",
|
||||||
|
"arch": "arm64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.4-6807962903/go-1.21.4-darwin-arm64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.21.4-darwin-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.4-6807962903/go-1.21.4-darwin-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.21.4-linux-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "linux",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.4-6807962903/go-1.21.4-linux-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.21.4-win32-x64.zip",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "win32",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.4-6807962903/go-1.21.4-win32-x64.zip"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "1.21.3",
|
"version": "1.21.3",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/go-versions/releases/tag/1.21.3-6783834942",
|
"release_url": "https://github.com/actions/go-versions/releases/tag/1.21.3-6799290922",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"filename": "go-1.21.3-darwin-arm64.tar.gz",
|
"filename": "go-1.21.3-darwin-arm64.tar.gz",
|
||||||
"arch": "arm64",
|
"arch": "arm64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.3-6783834942/go-1.21.3-darwin-arm64.tar.gz"
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.3-6799290922/go-1.21.3-darwin-arm64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "go-1.21.3-darwin-x64.tar.gz",
|
"filename": "go-1.21.3-darwin-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.3-6783834942/go-1.21.3-darwin-x64.tar.gz"
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.3-6799290922/go-1.21.3-darwin-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "go-1.21.3-linux-x64.tar.gz",
|
"filename": "go-1.21.3-linux-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "linux",
|
"platform": "linux",
|
||||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.3-6783834942/go-1.21.3-linux-x64.tar.gz"
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.3-6799290922/go-1.21.3-linux-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "go-1.21.3-win32-x64.zip",
|
"filename": "go-1.21.3-win32-x64.zip",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.3-6783834942/go-1.21.3-win32-x64.zip"
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.3-6799290922/go-1.21.3-win32-x64.zip"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -111,34 +204,127 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"version": "1.20.13",
|
||||||
|
"stable": true,
|
||||||
|
"release_url": "https://github.com/actions/go-versions/releases/tag/1.20.13-7474096229",
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filename": "go-1.20.13-darwin-arm64.tar.gz",
|
||||||
|
"arch": "arm64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.13-7474096229/go-1.20.13-darwin-arm64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.20.13-darwin-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.13-7474096229/go-1.20.13-darwin-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.20.13-linux-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "linux",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.13-7474096229/go-1.20.13-linux-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.20.13-win32-x64.zip",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "win32",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.13-7474096229/go-1.20.13-win32-x64.zip"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"version": "1.20.12",
|
||||||
|
"stable": true,
|
||||||
|
"release_url": "https://github.com/actions/go-versions/releases/tag/1.20.12-7112570703",
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filename": "go-1.20.12-darwin-arm64.tar.gz",
|
||||||
|
"arch": "arm64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.12-7112570703/go-1.20.12-darwin-arm64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.20.12-darwin-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.12-7112570703/go-1.20.12-darwin-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.20.12-linux-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "linux",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.12-7112570703/go-1.20.12-linux-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.20.12-win32-x64.zip",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "win32",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.12-7112570703/go-1.20.12-win32-x64.zip"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"version": "1.20.11",
|
||||||
|
"stable": true,
|
||||||
|
"release_url": "https://github.com/actions/go-versions/releases/tag/1.20.11-6807963573",
|
||||||
|
"files": [
|
||||||
|
{
|
||||||
|
"filename": "go-1.20.11-darwin-arm64.tar.gz",
|
||||||
|
"arch": "arm64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.11-6807963573/go-1.20.11-darwin-arm64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.20.11-darwin-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "darwin",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.11-6807963573/go-1.20.11-darwin-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.20.11-linux-x64.tar.gz",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "linux",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.11-6807963573/go-1.20.11-linux-x64.tar.gz"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "go-1.20.11-win32-x64.zip",
|
||||||
|
"arch": "x64",
|
||||||
|
"platform": "win32",
|
||||||
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.11-6807963573/go-1.20.11-win32-x64.zip"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "1.20.10",
|
"version": "1.20.10",
|
||||||
"stable": true,
|
"stable": true,
|
||||||
"release_url": "https://github.com/actions/go-versions/releases/tag/1.20.10-6783968926",
|
"release_url": "https://github.com/actions/go-versions/releases/tag/1.20.10-6798549508",
|
||||||
"files": [
|
"files": [
|
||||||
{
|
{
|
||||||
"filename": "go-1.20.10-darwin-arm64.tar.gz",
|
"filename": "go-1.20.10-darwin-arm64.tar.gz",
|
||||||
"arch": "arm64",
|
"arch": "arm64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.10-6783968926/go-1.20.10-darwin-arm64.tar.gz"
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.10-6798549508/go-1.20.10-darwin-arm64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "go-1.20.10-darwin-x64.tar.gz",
|
"filename": "go-1.20.10-darwin-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "darwin",
|
"platform": "darwin",
|
||||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.10-6783968926/go-1.20.10-darwin-x64.tar.gz"
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.10-6798549508/go-1.20.10-darwin-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "go-1.20.10-linux-x64.tar.gz",
|
"filename": "go-1.20.10-linux-x64.tar.gz",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "linux",
|
"platform": "linux",
|
||||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.10-6783968926/go-1.20.10-linux-x64.tar.gz"
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.10-6798549508/go-1.20.10-linux-x64.tar.gz"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename": "go-1.20.10-win32-x64.zip",
|
"filename": "go-1.20.10-win32-x64.zip",
|
||||||
"arch": "x64",
|
"arch": "x64",
|
||||||
"platform": "win32",
|
"platform": "win32",
|
||||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.10-6783968926/go-1.20.10-win32-x64.zip"
|
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.10-6798549508/go-1.20.10-win32-x64.zip"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user