From f176dd582e432b0e35d833e013c20c86ba6eb146 Mon Sep 17 00:00:00 2001 From: Turnerj Date: Fri, 12 Jul 2024 01:08:34 +0930 Subject: [PATCH] Fixing choco usage --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 02b4e0b..c3ac999 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,7 @@ jobs: - os: ubuntu-latest ubuntu: 'jammy' - os: macOS-latest + mongodb: '6.0' optional: true steps: # Configure Redis @@ -61,7 +62,7 @@ jobs: if: matrix.os == 'windows-latest' shell: powershell run: | - $latestPackageVersion = Get-LatestChocoPackageVersion -TargetVersion ${{matrix.mongodb}} -PackageName "mongodb.install" + $latestPackageVersion = Resolve-ChocoPackageVersion -TargetVersion ${{matrix.mongodb}} -PackageName "mongodb.install" choco install mongodb.portable --version=$latestPackageVersion - name: Configure MongoDB (MacOS) if: matrix.os == 'macOS-latest'