Skip to content

Commit

Permalink
specify each driver version
Browse files Browse the repository at this point in the history
  • Loading branch information
evanchooly committed Apr 30, 2023
1 parent 3e0e8cd commit 9ebcd2e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- r[0-9]*
workflow_dispatch:

env:
LATEST_DRIVER: 4.9.1
jobs:
Build:
uses: evanchooly/workflows/.github/workflows/build.yml@master
Expand All @@ -23,16 +25,20 @@ jobs:
matrix:
java: [ 20, 11 ]
mongo: [ 6 ]
driver: [ 4.9.1, 4.8.1, 4.7.2, 4.6.1 ]
driver: [ $LATEST_DRIVER, 4.8.1, 4.7.2, 4.6.1 ]
include:
- java: 11
mongo: 5
driver: $LATEST_DRIVER
- java: 11
mongo: 4.4
driver: $LATEST_DRIVER
- java: 11
mongo: 4.2
driver: $LATEST_DRIVER
- java: 11
mongo: 4.0
driver: $LATEST_DRIVER

uses: evanchooly/workflows/.github/workflows/build.yml@master
secrets:
Expand Down

0 comments on commit 9ebcd2e

Please sign in to comment.