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
|
# Setup repo and add caching
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: main
|
ref: ${{ github.event.pull_request.ref }}
|
||||||
|
|
||||||
- name: Run integration tests
|
- name: Run integration tests
|
||||||
if: github.repository == 'blue-build/cli'
|
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
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.ref }}
|
ref: main
|
||||||
|
|
||||||
- name: Install bluebuild
|
- name: Install bluebuild
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ template-containerfile:
|
||||||
template-secureblue:
|
template-secureblue:
|
||||||
ARG NIGHTLY=false
|
ARG NIGHTLY=false
|
||||||
FROM +secureblue-base --NIGHTLY=$NIGHTLY
|
FROM +secureblue-base --NIGHTLY=$NIGHTLY
|
||||||
RUN bluebuild -vv template -o Containerfile config/recipes/desktop/recipe-silverblue-nvidia.yml
|
RUN bluebuild -vv template -o Containerfile config/recipes/general/recipe-silverblue-nvidia.yml
|
||||||
|
|
||||||
SAVE ARTIFACT /test
|
SAVE ARTIFACT /test
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue