mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
[Ubuntu] Add java dependent tools back to ubuntu 22 (#5618)
* Get back kotlin and selenium * Get back leiningen and android tools
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
Describe "Android" {
|
||||
if (Test-IsUbuntu22) { return }
|
||||
|
||||
$androidSdkManagerPackages = Get-AndroidPackages
|
||||
[int]$platformMinVersion = Get-ToolsetValue "android.platform_min_version"
|
||||
[version]$buildToolsMinVersion = Get-ToolsetValue "android.build_tools_min_version"
|
||||
|
||||
@@ -206,7 +206,7 @@ Describe "Sbt" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Selenium" -Skip:(Test-IsUbuntu22) {
|
||||
Describe "Selenium" {
|
||||
It "Selenium is installed" {
|
||||
$seleniumBinaryName = (Get-ToolsetContent).selenium.binary_name
|
||||
$seleniumPath = Join-Path "/usr/share/java" "$seleniumBinaryName.jar"
|
||||
@@ -298,7 +298,7 @@ Describe "Kubernetes tools" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Leiningen" -Skip:(Test-IsUbuntu22) {
|
||||
Describe "Leiningen" {
|
||||
It "leiningen" {
|
||||
"lein --version" | Should -ReturnZeroExitCode
|
||||
}
|
||||
@@ -397,7 +397,7 @@ Describe "yq" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Kotlin" -Skip:(Test-IsUbuntu22) {
|
||||
Describe "Kotlin" {
|
||||
It "kapt" {
|
||||
"kapt -version"| Should -ReturnZeroExitCode
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user