mirror of
https://github.com/actions/runner-images.git
synced 2025-12-24 10:28:00 +08:00
[Windows] Implement new directories hierarchy (#8616)
This commit is contained in:
committed by
GitHub
parent
84a7deae24
commit
d1f2c9a3be
15
images/windows/scripts/build/Install-NSIS.ps1
Normal file
15
images/windows/scripts/build/Install-NSIS.ps1
Normal file
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
## File: Install-NSIS.ps1
|
||||
## Desc: Install NSIS
|
||||
## Supply chain security: NSIS - managed by package manager
|
||||
################################################################################
|
||||
|
||||
$NsisVersion = (Get-ToolsetContent).nsis.version
|
||||
|
||||
Choco-Install -PackageName nsis -ArgumentList "--version", "$NsisVersion"
|
||||
|
||||
$NsisPath = "${env:ProgramFiles(x86)}\NSIS\"
|
||||
Add-MachinePathItem $NsisPath
|
||||
$env:Path = Get-MachinePath
|
||||
|
||||
Invoke-PesterTests -TestFile "Tools" -TestName "NSIS"
|
||||
Reference in New Issue
Block a user