Skip to content

Commit

Permalink
Fixing choco usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Turnerj committed Jul 11, 2024
1 parent 5fc4123 commit f176dd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- os: ubuntu-latest
ubuntu: 'jammy'
- os: macOS-latest
mongodb: '6.0'
optional: true
steps:
# Configure Redis
Expand All @@ -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'
Expand Down

0 comments on commit f176dd5

Please sign in to comment.