File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class NixNodeBuilder : NodeBuilder {
5454 $installationTemplateLocation = Join-Path - Path $this.InstallationTemplatesLocation - ChildPath $this.InstallationTemplateName
5555
5656 $installationTemplateContent = Get-Content - Path $installationTemplateLocation - Raw
57- $installationTemplateContent = $installationTemplateContent -f $this.Version.ToString (3 )
57+ $installationTemplateContent = $installationTemplateContent -f $this.Version.ToString (3 ), $this .Architecture
5858 $installationTemplateContent | Out-File - FilePath $installationScriptLocation
5959
6060 Write-Debug " Done; Installation script location: $installationScriptLocation )"
Original file line number Diff line number Diff line change 11set -e
22
33NODE_VERSION={0}
4+ ARCH={1}
45
56NODE_TOOLCACHE_PATH=$AGENT_TOOLSDIRECTORY /node
67NODE_TOOLCACHE_VERSION_PATH=$NODE_TOOLCACHE_PATH /$NODE_VERSION
7- NODE_TOOLCACHE_VERSION_ARCH_PATH=$NODE_TOOLCACHE_VERSION_PATH /x64
8+ NODE_TOOLCACHE_VERSION_ARCH_PATH=$NODE_TOOLCACHE_VERSION_PATH /$ARCH
89
910echo " Check if Node.js hostedtoolcache folder exist..."
1011if [ ! -d $NODE_TOOLCACHE_PATH ]; then
@@ -22,4 +23,4 @@ cp -R ./* $NODE_TOOLCACHE_VERSION_ARCH_PATH
2223rm $NODE_TOOLCACHE_VERSION_ARCH_PATH /setup.sh
2324
2425echo " Create complete file"
25- touch $NODE_TOOLCACHE_VERSION_PATH /x64 .complete
26+ touch $NODE_TOOLCACHE_VERSION_PATH /$ARCH .complete
You can’t perform that action at this time.
0 commit comments