Compare commits

...

3 Commits

Author SHA1 Message Date
github-actions[bot]
bb598e8c31 Update versions-manifest (#159)
Co-authored-by: Service account <no-reply@microsoft.com>
2023-11-08 13:55:10 +01:00
Dmitry Shibanov
a798c8ed46 add arch to installer script (#158) 2023-11-08 09:43:29 +01:00
github-actions[bot]
9d10c5b01a Update versions-manifest (#157)
Co-authored-by: Service account <no-reply@microsoft.com>
2023-11-07 14:49:26 +01:00
3 changed files with 24 additions and 11 deletions

View File

@@ -54,7 +54,7 @@ class NixNodeBuilder : NodeBuilder {
$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
NODE_VERSION={0}
ARCH={1}
NODE_TOOLCACHE_PATH=$AGENT_TOOLSDIRECTORY/node
NODE_TOOLCACHE_VERSION_PATH=$NODE_TOOLCACHE_PATH/$NODE_VERSION
NODE_TOOLCACHE_VERSION_ARCH_PATH=$NODE_TOOLCACHE_VERSION_PATH/x64
NODE_TOOLCACHE_VERSION_ARCH_PATH=$NODE_TOOLCACHE_VERSION_PATH/$ARCH
echo "Check if Node.js hostedtoolcache folder exist..."
if [ ! -d $NODE_TOOLCACHE_PATH ]; then
@@ -22,4 +23,4 @@ cp -R ./* $NODE_TOOLCACHE_VERSION_ARCH_PATH
rm $NODE_TOOLCACHE_VERSION_ARCH_PATH/setup.sh
echo "Create complete file"
touch $NODE_TOOLCACHE_VERSION_PATH/x64.complete
touch $NODE_TOOLCACHE_VERSION_PATH/$ARCH.complete

View File

@@ -3,25 +3,31 @@
"version": "20.9.0",
"stable": true,
"lts": "Iron",
"release_url": "https://github.com/actions/node-versions/releases/tag/20.9.0-6635846781",
"release_url": "https://github.com/actions/node-versions/releases/tag/20.9.0-6797996195",
"files": [
{
"filename": "node-20.9.0-darwin-arm64.tar.gz",
"arch": "arm64",
"platform": "darwin",
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6797996195/node-20.9.0-darwin-arm64.tar.gz"
},
{
"filename": "node-20.9.0-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6635846781/node-20.9.0-darwin-x64.tar.gz"
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6797996195/node-20.9.0-darwin-x64.tar.gz"
},
{
"filename": "node-20.9.0-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6635846781/node-20.9.0-linux-x64.tar.gz"
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6797996195/node-20.9.0-linux-x64.tar.gz"
},
{
"filename": "node-20.9.0-win32-x64.7z",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6635846781/node-20.9.0-win32-x64.7z"
"download_url": "https://github.com/actions/node-versions/releases/download/20.9.0-6797996195/node-20.9.0-win32-x64.7z"
}
]
},
@@ -367,25 +373,31 @@
"version": "18.18.2",
"stable": true,
"lts": "Hydrogen",
"release_url": "https://github.com/actions/node-versions/releases/tag/18.18.2-6529389914",
"release_url": "https://github.com/actions/node-versions/releases/tag/18.18.2-6796085386",
"files": [
{
"filename": "node-18.18.2-darwin-arm64.tar.gz",
"arch": "arm64",
"platform": "darwin",
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6796085386/node-18.18.2-darwin-arm64.tar.gz"
},
{
"filename": "node-18.18.2-darwin-x64.tar.gz",
"arch": "x64",
"platform": "darwin",
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6529389914/node-18.18.2-darwin-x64.tar.gz"
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6796085386/node-18.18.2-darwin-x64.tar.gz"
},
{
"filename": "node-18.18.2-linux-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6529389914/node-18.18.2-linux-x64.tar.gz"
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6796085386/node-18.18.2-linux-x64.tar.gz"
},
{
"filename": "node-18.18.2-win32-x64.7z",
"arch": "x64",
"platform": "win32",
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6529389914/node-18.18.2-win32-x64.7z"
"download_url": "https://github.com/actions/node-versions/releases/download/18.18.2-6796085386/node-18.18.2-win32-x64.7z"
}
]
},