mirror of
https://github.com/actions/go-versions.git
synced 2026-01-29 05:28:35 +00:00
Compare commits
4 Commits
1.21.2-645
...
1.21.4-679
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6de71f133a | ||
|
|
efc7cf9b98 | ||
|
|
2965f72cec | ||
|
|
6c844dd698 |
@@ -44,7 +44,7 @@ class NixGoBuilder : GoBuilder {
|
||||
$installationTemplateLocation = Join-Path -Path $this.InstallationTemplatesLocation -ChildPath $this.InstallationTemplateName
|
||||
|
||||
$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
|
||||
|
||||
Write-Debug "Done; Installation script location: $installationScriptLocation)"
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
set -e
|
||||
|
||||
GO_VERSION={0}
|
||||
ARCH={1}
|
||||
|
||||
GO_TOOLCACHE_PATH=$AGENT_TOOLSDIRECTORY/go
|
||||
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..."
|
||||
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
|
||||
|
||||
echo "Create complete file"
|
||||
touch $GO_TOOLCACHE_VERSION_PATH/x64.complete
|
||||
touch $GO_TOOLCACHE_VERSION_PATH/$ARCH.complete
|
||||
|
||||
@@ -1,4 +1,60 @@
|
||||
[
|
||||
{
|
||||
"version": "1.21.3",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/go-versions/releases/tag/1.21.3-6783834942",
|
||||
"files": [
|
||||
{
|
||||
"filename": "go-1.21.3-darwin-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.3-6783834942/go-1.21.3-darwin-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.21.3-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.3-6783834942/go-1.21.3-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.21.3-linux-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.3-6783834942/go-1.21.3-linux-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.21.3-win32-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.3-6783834942/go-1.21.3-win32-x64.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "1.21.2",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/go-versions/releases/tag/1.21.2-6465184808",
|
||||
"files": [
|
||||
{
|
||||
"filename": "go-1.21.2-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.2-6465184808/go-1.21.2-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.21.2-linux-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.2-6465184808/go-1.21.2-linux-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.21.2-win32-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.21.2-6465184808/go-1.21.2-win32-x64.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "1.21.1",
|
||||
"stable": true,
|
||||
@@ -55,6 +111,62 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "1.20.10",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/go-versions/releases/tag/1.20.10-6783968926",
|
||||
"files": [
|
||||
{
|
||||
"filename": "go-1.20.10-darwin-arm64.tar.gz",
|
||||
"arch": "arm64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.10-6783968926/go-1.20.10-darwin-arm64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.20.10-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.10-6783968926/go-1.20.10-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.20.10-linux-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.10-6783968926/go-1.20.10-linux-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.20.10-win32-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.10-6783968926/go-1.20.10-win32-x64.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "1.20.9",
|
||||
"stable": true,
|
||||
"release_url": "https://github.com/actions/go-versions/releases/tag/1.20.9-6465186081",
|
||||
"files": [
|
||||
{
|
||||
"filename": "go-1.20.9-darwin-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "darwin",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.9-6465186081/go-1.20.9-darwin-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.20.9-linux-x64.tar.gz",
|
||||
"arch": "x64",
|
||||
"platform": "linux",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.9-6465186081/go-1.20.9-linux-x64.tar.gz"
|
||||
},
|
||||
{
|
||||
"filename": "go-1.20.9-win32-x64.zip",
|
||||
"arch": "x64",
|
||||
"platform": "win32",
|
||||
"download_url": "https://github.com/actions/go-versions/releases/download/1.20.9-6465186081/go-1.20.9-win32-x64.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"version": "1.20.8",
|
||||
"stable": true,
|
||||
|
||||
Reference in New Issue
Block a user