mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 06:40:32 +00:00
Stick mongodb version to 4.4.7 (#3747)
* Version 5 potentially contains breaking changes. Stick to 4.4.7 and announce changes before upgrading to it.
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
## Desc: Install MongoDB
|
## Desc: Install MongoDB
|
||||||
####################################################################################
|
####################################################################################
|
||||||
|
|
||||||
Choco-Install -PackageName mongodb
|
Choco-Install -PackageName mongodb -ArgumentList "--version=4.4.7"
|
||||||
$mongoPath = (Get-CimInstance Win32_Service -Filter "Name LIKE 'mongodb'").PathName
|
$mongoPath = (Get-CimInstance Win32_Service -Filter "Name LIKE 'mongodb'").PathName
|
||||||
$mongoBin = Split-Path -Path $mongoPath.split('"')[1]
|
$mongoBin = Split-Path -Path $mongoPath.split('"')[1]
|
||||||
Add-MachinePathItem "$mongoBin"
|
Add-MachinePathItem "$mongoBin"
|
||||||
|
|||||||
Reference in New Issue
Block a user