mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-30 05:22:06 +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-Sbt.ps1
Normal file
15
images/windows/scripts/build/Install-Sbt.ps1
Normal file
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
## File: Install-Sbt.ps1
|
||||
## Desc: Install sbt for Windows
|
||||
################################################################################
|
||||
|
||||
# Install the latest version of sbt.
|
||||
# See https://chocolatey.org/packages/sbt
|
||||
Choco-Install -PackageName sbt
|
||||
|
||||
$env:SBT_HOME="${env:ProgramFiles(x86)}\sbt"
|
||||
|
||||
# Add sbt binaries to the path
|
||||
Add-MachinePathItem "$env:SBT_HOME\bin"
|
||||
|
||||
Invoke-PesterTests -TestFile "Tools" -TestName "Sbt"
|
||||
Reference in New Issue
Block a user