mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-06 18:17:26 +08:00
MongoDB v4.2.8 Windows (#1410)
This commit is contained in:
committed by
GitHub
parent
c6cd2373c4
commit
47a39283ba
@@ -3,7 +3,7 @@
|
||||
## Desc: Install MongoDB
|
||||
####################################################################################
|
||||
|
||||
Choco-Install -PackageName mongodb
|
||||
Choco-Install -PackageName mongodb -ArgumentList @("--version","4.2.8")
|
||||
$mongoPath = (Get-CimInstance Win32_Service -Filter "Name LIKE 'mongodb'").PathName
|
||||
$mongoBin = Split-Path -Path $mongoPath.split('"')[1]
|
||||
Add-MachinePathItem "$mongoBin"
|
||||
|
||||
Reference in New Issue
Block a user