Skip to content

Commit 848beb7

Browse files
committed
ci: fixed windows install script
Replaced `nodejs.install` with `nodejs`.
1 parent bbea45e commit 848beb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/choco-install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ New-Item -Path "${PSScriptRoot}\..\tmp\chocolatey" -ItemType "directory" -ErrorA
2222
choco source add --name="cache" --source="${PSScriptRoot}\..\tmp\chocolatey" --priority=1
2323

2424
# Install nodejs v20.5.1 (will use cache if exists)
25-
$nodejs = "nodejs.install"
25+
$nodejs = "nodejs"
2626
choco install "$nodejs" --version="20.5.1" --require-checksums -y
2727
# Internalise nodejs to cache if doesn't exist
2828
if ( -not (Test-Path -Path "${PSScriptRoot}\..\tmp\chocolatey\$nodejs\$nodejs.20.5.1.nupkg" -PathType Leaf) ) {

0 commit comments

Comments
 (0)