fix: Checkout proper versions when building on main vs a PR

This commit is contained in:
Gerald Pinder 2024-03-11 19:16:30 -04:00
parent bf6ce3f650
commit c084592934
3 changed files with 3 additions and 3 deletions

View file

@ -65,7 +65,7 @@ jobs:
# Setup repo and add caching
- uses: actions/checkout@v4
with:
ref: main
ref: ${{ github.event.pull_request.ref }}
- name: Run integration tests
if: github.repository == 'blue-build/cli'

View file

@ -118,7 +118,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.ref }}
ref: main
- name: Install bluebuild
env: