mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
* [Windows] Refactor base Installer helper functions * Fix helper name * Fix name gen logic and improve error handling * Fix hash checking logic * Fix Install-VsixExtension invocation * Fix variable name in Install-OpenSSL.ps1 * Fix type for git downloadUrl
16 lines
501 B
PowerShell
16 lines
501 B
PowerShell
################################################################################
|
|
## File: Install-Sbt.ps1
|
|
## Desc: Install sbt for Windows
|
|
################################################################################
|
|
|
|
# Install the latest version of sbt.
|
|
# See https://chocolatey.org/packages/sbt
|
|
Install-ChocoPackage 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"
|