mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
add swift version to ubuntu 24 (#10578)
This commit is contained in:
committed by
GitHub
parent
27738cad72
commit
c7adf5d533
@@ -57,9 +57,8 @@ $languageAndRuntime.AddToolVersion("Node.js", $(Get-NodeVersion))
|
|||||||
$languageAndRuntime.AddToolVersion("Perl", $(Get-PerlVersion))
|
$languageAndRuntime.AddToolVersion("Perl", $(Get-PerlVersion))
|
||||||
$languageAndRuntime.AddToolVersion("Python", $(Get-PythonVersion))
|
$languageAndRuntime.AddToolVersion("Python", $(Get-PythonVersion))
|
||||||
$languageAndRuntime.AddToolVersion("Ruby", $(Get-RubyVersion))
|
$languageAndRuntime.AddToolVersion("Ruby", $(Get-RubyVersion))
|
||||||
if ((Test-IsUbuntu20) -or (Test-IsUbuntu22)) {
|
$languageAndRuntime.AddToolVersion("Swift", $(Get-SwiftVersion))
|
||||||
$languageAndRuntime.AddToolVersion("Swift", $(Get-SwiftVersion))
|
|
||||||
}
|
|
||||||
|
|
||||||
# Package Management
|
# Package Management
|
||||||
$packageManagement = $installedSoftware.AddHeader("Package Management")
|
$packageManagement = $installedSoftware.AddHeader("Package Management")
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ Describe "PHP" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Describe "Swift" -Skip:((-not (Test-IsUbuntu20)) -and (-not (Test-IsUbuntu22))) {
|
Describe "Swift" {
|
||||||
It "swift" {
|
It "swift" {
|
||||||
"swift --version" | Should -ReturnZeroExitCode
|
"swift --version" | Should -ReturnZeroExitCode
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -284,6 +284,7 @@ provisioner "shell" {
|
|||||||
"${path.root}/../scripts/build/install-apache.sh",
|
"${path.root}/../scripts/build/install-apache.sh",
|
||||||
"${path.root}/../scripts/build/install-aws-tools.sh",
|
"${path.root}/../scripts/build/install-aws-tools.sh",
|
||||||
"${path.root}/../scripts/build/install-clang.sh",
|
"${path.root}/../scripts/build/install-clang.sh",
|
||||||
|
"${path.root}/../scripts/build/install-swift.sh",
|
||||||
"${path.root}/../scripts/build/install-cmake.sh",
|
"${path.root}/../scripts/build/install-cmake.sh",
|
||||||
"${path.root}/../scripts/build/install-codeql-bundle.sh",
|
"${path.root}/../scripts/build/install-codeql-bundle.sh",
|
||||||
"${path.root}/../scripts/build/install-container-tools.sh",
|
"${path.root}/../scripts/build/install-container-tools.sh",
|
||||||
|
|||||||
Reference in New Issue
Block a user