mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
* ,oving to the pester approach part #5 * moving to the pester approach part #5 * fixed PostgreSQL tests * return Validate-Svn.ps1 * fixed Selenium test * fixed rust test * fix rust test
19 lines
573 B
PowerShell
19 lines
573 B
PowerShell
################################################################################
|
|
## File: Install-Sbt.ps1
|
|
## Desc: Install sbt for Windows
|
|
################################################################################
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
Import-Module -Name ImageHelpers
|
|
|
|
# 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"
|