Skip to content

Commit ece043d

Browse files
committed
.github/workflows: Pass BRANCH parameter
Pass BRANCH argument during the build. This parameter wasn't ported from the other actions. Signed-off-by: Renê de Souza Pinto <[email protected]>
1 parent 3d772bb commit ece043d

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/pr-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ jobs:
4141

4242
- name: Build kernel flavor ${{ matrix.flavor }}
4343
run: |
44-
make -f Makefile.eve kernel-gcc
44+
make -f Makefile.eve \
45+
BRANCH=$SAFE_BRANCH \
46+
kernel-gcc

.github/workflows/publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232

3333
- name: Build kernel flavor ${{ matrix.flavor }} from ${{ github.ref_name }}
3434
run: |
35-
make -f Makefile.eve kernel-gcc
35+
make -f Makefile.eve \
36+
BRANCH=${{ github.ref_name }} \
37+
kernel-gcc
3638
3739
- name: Login to Docker Hub (push)
3840
uses: docker/login-action@v3
@@ -42,4 +44,6 @@ jobs:
4244

4345
- name: Push ${{ matrix.flavor }} from ${{ github.ref_name }}
4446
run: |
45-
make -f Makefile.eve push-gcc
47+
make -f Makefile.eve \
48+
BRANCH=${{ github.ref_name }} \
49+
push-gcc

0 commit comments

Comments
 (0)