mirror of
https://github.com/actions/runner-images.git
synced 2025-12-24 10:28:00 +08:00
Inital commit.
This commit is contained in:
18
images/win/scripts/Installers/Validate-Sbt.ps1
Normal file
18
images/win/scripts/Installers/Validate-Sbt.ps1
Normal file
@@ -0,0 +1,18 @@
|
||||
################################################################################
|
||||
## File: Validate-Sbt.ps1
|
||||
## Team: CI-Platform
|
||||
## Desc: Validate sbt for Windows
|
||||
################################################################################
|
||||
|
||||
if((Get-Command -Name 'sbt'))
|
||||
{
|
||||
Write-Host "sbt is on the path"
|
||||
}
|
||||
else
|
||||
{
|
||||
Write-Host "sbt is not on path."
|
||||
exit 1
|
||||
}
|
||||
|
||||
# This works around issue where sbt --script-version does some copies and breaks the build
|
||||
Add-SoftwareDetailsToMarkdown -SoftwareName "sbt" -DescriptionMarkdown ""
|
||||
Reference in New Issue
Block a user