mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
mongodb v4.4.0 on Windows (#1424)
This commit is contained in:
committed by
GitHub
parent
6b9c25bb72
commit
75bdbe2542
@@ -3,7 +3,7 @@
|
||||
## Desc: Install MongoDB
|
||||
####################################################################################
|
||||
|
||||
Choco-Install -PackageName mongodb -ArgumentList @("--version","4.2.8")
|
||||
Choco-Install -PackageName mongodb
|
||||
$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