fix: Checkout proper versions when building on main vs a PR
This commit is contained in:
parent
bf6ce3f650
commit
c084592934
3 changed files with 3 additions and 3 deletions
2
.github/workflows/build-pr.yml
vendored
2
.github/workflows/build-pr.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -118,7 +118,7 @@ jobs:
|
|||
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.ref }}
|
||||
ref: main
|
||||
|
||||
- name: Install bluebuild
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue