mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Add miniconda to macOS 12 (#5693)
This commit is contained in:
committed by
GitHub
parent
787d6f6ee7
commit
f380cc1031
@@ -63,6 +63,7 @@ $packageManagementList = @(
|
||||
(Get-PipxVersion),
|
||||
(Get-BundlerVersion),
|
||||
(Get-CocoaPodsVersion),
|
||||
(Get-CondaVersion),
|
||||
(Get-HomebrewVersion),
|
||||
(Get-NPMVersion),
|
||||
(Get-YarnVersion),
|
||||
@@ -73,18 +74,11 @@ $packageManagementList = @(
|
||||
(Get-VcpkgVersion)
|
||||
)
|
||||
|
||||
if ($os.IsLessThanMonterey) {
|
||||
$packageManagementList += @(
|
||||
(Get-CondaVersion)
|
||||
)
|
||||
}
|
||||
|
||||
$markdown += New-MDList -Style Unordered -Lines ($packageManagementList | Sort-Object)
|
||||
if ($os.IsLessThanMonterey) {
|
||||
$markdown += New-MDHeader "Environment variables" -Level 4
|
||||
$markdown += Build-PackageManagementEnvironmentTable | New-MDTable
|
||||
$markdown += New-MDNewLine
|
||||
}
|
||||
|
||||
# Project Management
|
||||
$markdown += New-MDHeader "Project Management" -Level 3
|
||||
$markdown += New-MDList -Style Unordered -Lines (@(
|
||||
|
||||
@@ -200,6 +200,7 @@
|
||||
"./provision/core/mongodb.sh",
|
||||
"./provision/core/audiodevice.sh",
|
||||
"./provision/core/vcpkg.sh",
|
||||
"./provision/core/miniconda.sh",
|
||||
"./provision/core/safari.sh",
|
||||
"./provision/core/chrome.sh",
|
||||
"./provision/core/edge.sh",
|
||||
|
||||
@@ -58,7 +58,7 @@ Describe "AzCopy" {
|
||||
}
|
||||
}
|
||||
|
||||
Describe "Miniconda" -Skip:($os.IsMonterey) {
|
||||
Describe "Miniconda" {
|
||||
It "Conda" {
|
||||
Get-EnvironmentVariable "CONDA" | Should -Not -BeNullOrEmpty
|
||||
$condaBinPath = Join-Path $env:CONDA "bin" "conda"
|
||||
|
||||
Reference in New Issue
Block a user