Compare commits

..

7 Commits

Author SHA1 Message Date
github-actions[bot]
1635b75524 Update versions-manifest (#94)
Co-authored-by: Service account <no-reply@microsoft.com>
2023-12-06 18:16:08 +01:00
github-actions[bot]
2935e07892 Update versions-manifest (#93)
Co-authored-by: Service account <no-reply@microsoft.com>
2023-11-09 15:00:24 +01:00
github-actions[bot]
8196b0fc6b Update versions-manifest (#92)
Co-authored-by: Service account <no-reply@microsoft.com>
2023-11-08 16:20:09 +01:00
Dmitry Shibanov
6de71f133a add architecture to installer script (#91) 2023-11-08 13:05:51 +01:00
github-actions[bot]
efc7cf9b98 Update versions-manifest (#90)
Co-authored-by: Service account <no-reply@microsoft.com>
2023-11-07 14:49:58 +01:00
github-actions[bot]
2965f72cec Update versions-manifest (#89)
Co-authored-by: Service account <no-reply@microsoft.com>
2023-10-11 17:06:59 +02:00
github-actions[bot]
6c844dd698 Update versions-manifest (#88)
Co-authored-by: Service account <no-reply@microsoft.com>
2023-10-10 12:26:06 +02:00
3 changed files with 240 additions and 3 deletions

View File

@@ -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)"

View File

@@ -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

View File

@@ -1,4 +1,122 @@
[
{
"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",
"stable": true,
"release_url": "https://github.com/actions/go-versions/releases/tag/1.21.3-6799290922",
"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-6799290922/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-6799290922/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-6799290922/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-6799290922/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 +173,124 @@
}
]
},
{
"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",
"stable": true,
"release_url": "https://github.com/actions/go-versions/releases/tag/1.20.10-6798549508",
"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-6798549508/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-6798549508/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-6798549508/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-6798549508/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,