Compare commits
25 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ec09b8ed02 | |||
| 22b86c61f6 | |||
| ee011d651d | |||
| f33462c8a2 | |||
| b8355a0fcc | |||
| d2561554de | |||
| ab329f0180 | |||
| cb84d2280a | |||
| a26a00efbb | |||
| 386b5d6f78 | |||
| fb3241c6f2 | |||
| c88b3f72e2 | |||
| 6c82900b55 | |||
| de463ffcdb | |||
| d51fc26ff7 | |||
| fee25d72a2 | |||
| bb598e8c31 | |||
| a798c8ed46 | |||
| 9d10c5b01a | |||
| a4a2f9a437 | |||
| 3d5333b8c1 | |||
| 897b0a01fc | |||
| 605dcd4078 | |||
| 705d5d4eb2 | |||
| aa0c3a667a |
@@ -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)"
|
||||
|
||||
+1
-1
Submodule helpers updated: b964a9871b...6fbb1f0f20
@@ -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
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user