File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ L1_MODE=$4
66
77INCLUDE_NODE6=${INCLUDE_NODE6:- true}
88INCLUDE_NODE10=${INCLUDE_NODE10:- true}
9+ INCLUDE_NODE24=${INCLUDE_NODE24:- true}
910
1011CONTAINER_URL=https://vstsagenttools.blob.core.windows.net/tools
1112
@@ -180,6 +181,9 @@ if [[ "$PACKAGERUNTIME" == "win-x"* ]]; then
180181 # Copy vstsom to vstshost for default PowerShell handler behavior
181182 cp -r " $LAYOUT_DIR /externals/vstsom/" * " $LAYOUT_DIR /externals/vstshost/"
182183 fi
184+ if [[ " $PACKAGERUNTIME " == " win-x86" ]]; then
185+ INCLUDE_NODE24=false
186+ fi
183187
184188 acquireExternalTool " $CONTAINER_URL /mingit/${MINGIT_VERSION} /MinGit-${MINGIT_VERSION} -${BIT} -bit.zip" git
185189 acquireExternalTool " $CONTAINER_URL /git-lfs/${LFS_VERSION} /x${BIT} /git-lfs.exe" " git/mingw${BIT} /bin"
@@ -202,8 +206,10 @@ if [[ "$PACKAGERUNTIME" == "win-x"* ]]; then
202206 acquireExternalTool " ${NODE_URL} /v${NODE16_VERSION} /${PACKAGERUNTIME} /node.lib" node16/bin
203207 acquireExternalTool " ${NODE_URL} /v${NODE20_VERSION} /${PACKAGERUNTIME} /node.exe" node20_1/bin
204208 acquireExternalTool " ${NODE_URL} /v${NODE20_VERSION} /${PACKAGERUNTIME} /node.lib" node20_1/bin
209+ if [[ " $INCLUDE_NODE24 " == " true" ]]; then
205210 acquireExternalTool " ${NODE_URL} /v${NODE24_VERSION} /${PACKAGERUNTIME} /node.exe" node24/bin
206211 acquireExternalTool " ${NODE_URL} /v${NODE24_VERSION} /${PACKAGERUNTIME} /node.lib" node24/bin
212+ fi
207213elif [[ " $PACKAGERUNTIME " == " win-arm64" || " $PACKAGERUNTIME " == " win-arm32" ]]; then
208214 # Download external tools for Windows ARM
209215
You can’t perform that action at this time.
0 commit comments