fix mongo download link for 4.2 4.4 explicitly
This commit is contained in:
3
.github/workflows/start_mongo.sh
vendored
3
.github/workflows/start_mongo.sh
vendored
@@ -2,7 +2,8 @@
|
||||
|
||||
MONGODB=$1
|
||||
|
||||
mongodb_dir=${PWD}/mongodb-linux-x86_64-${MONGODB}
|
||||
mongodb_dir=$(find ${PWD}/ -type d -name "mongodb-linux-x86_64*")
|
||||
|
||||
mkdir $mongodb_dir/data
|
||||
$mongodb_dir/bin/mongod --dbpath $mongodb_dir/data --logpath $mongodb_dir/mongodb.log --fork
|
||||
mongo --eval 'db.version();' # Make sure mongo is awake
|
||||
|
||||
Reference in New Issue
Block a user