From c2699640a355604553b4a8bffc254efce63c553b Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 12 Jan 2025 14:52:50 +1100 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 88d9236dfa..7d55d34fc1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -212,8 +212,10 @@ jobs: - name: Install dependencies run: npm ci - run: | - wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb - sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb + if [[ "$MONGODB_VERSION" == "4.2.25" || "$MONGODB_VERSION" == "4.4.29" || "$MONGODB_VERSION" == "5.0.26" ]]; then + wget http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb + sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_amd64.deb + fi - run: npm run pretest - run: npm run coverage env: