mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
[Windows] Add sbt to Windows 2022 image (#4526)
* [Windows] Add sbt to Windows 2022 image * Update SoftwareReport.Generator.ps1 to include sbt on Win22
This commit is contained in:
@@ -74,13 +74,10 @@ $markdown += New-MDHeader "Project Management" -Level 3
|
||||
$projectManagementTools = @(
|
||||
(Get-AntVersion),
|
||||
(Get-GradleVersion),
|
||||
(Get-MavenVersion)
|
||||
)
|
||||
if ((Test-IsWin16) -or (Test-IsWin19)) {
|
||||
$projectManagementTools += @(
|
||||
(Get-MavenVersion),
|
||||
(Get-SbtVersion)
|
||||
)
|
||||
}
|
||||
)
|
||||
|
||||
$markdown += New-MDList -Style Unordered -Lines ($projectManagementTools | Sort-Object)
|
||||
|
||||
$markdown += New-MDHeader "Tools" -Level 3
|
||||
|
||||
@@ -124,7 +124,7 @@ Describe "PowerShell Core" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Sbt" -Skip:(Test-IsWin22) {
|
||||
Describe "Sbt" {
|
||||
It "sbt" {
|
||||
"sbt --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
@@ -203,6 +203,7 @@
|
||||
"{{ template_dir }}/scripts/Installers/Install-GitHub-CLI.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Install-PHP.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Install-Rust.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Install-Sbt.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Install-Chrome.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Install-Edge.ps1",
|
||||
"{{ template_dir }}/scripts/Installers/Install-Firefox.ps1",
|
||||
|
||||
Reference in New Issue
Block a user