Skip to content

Commit

Permalink
Use matching machine branch for CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johnml1135 committed Nov 6, 2024
1 parent 9b268f2 commit 8483893
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ jobs:
with:
mongodb-version: "6.0"
mongodb-replica-set: rs0

# Pull in a matching machine repo branch if it exists to use it rather than the released version of Machine.
- name: Check if there is a corresponding branch in Machine
id: find_matching_branch
continue-on-error: true
if: ${{ github.ref_name }} != "main"
run: cd .. && git clone https://github.com/sillsdev/machine.git --branch ${{ github.ref_name }} && dotnet build machine

- name: Restore dotnet tools
run: dotnet tool restore
- name: Restore dependencies
Expand Down

0 comments on commit 8483893

Please sign in to comment.