Skip to content

Commit 61b3b5a

Browse files
committed
Add vmlinux as separate artifact
1 parent 0970c7b commit 61b3b5a

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,17 @@ jobs:
9696
${{ steps.vars.outputs.KERNEL_IMAGE }}-${{ steps.vars.outputs.KERNEL_TYPE }}-${{ matrix.arch }}
9797
cp ${{ steps.vars.outputs.OUT_DIR }}/vmlinux ${{ steps.vars.outputs.OUT_DIR }}/vmlinux-${{ steps.vars.outputs.KERNEL_TYPE }}-${{ matrix.arch }}
9898
99-
- name: Upload kernel artifact
99+
- name: Upload kernel image artifact
100100
uses: actions/upload-artifact@v3
101101
with:
102102
name: kernel-image
103-
path: |
104-
${{ steps.vars.outputs.KERNEL_IMAGE }}-${{ steps.vars.outputs.KERNEL_TYPE }}-${{ matrix.arch }}
105-
${{ steps.vars.outputs.OUT_DIR }}/vmlinux-${{ steps.vars.outputs.KERNEL_TYPE }}-${{ matrix.arch }}
103+
path: ${{ steps.vars.outputs.KERNEL_IMAGE }}-${{ steps.vars.outputs.KERNEL_TYPE }}-${{ matrix.arch }}
104+
105+
- name: Upload vmlinux artifact
106+
uses: actions/upload-artifact@v3
107+
with:
108+
name: vmlinux
109+
path: ${{ steps.vars.outputs.OUT_DIR }}/vmlinux-${{ steps.vars.outputs.KERNEL_TYPE }}-${{ matrix.arch }}
106110

107111
- name: Upload rootfs artifact
108112
uses: actions/upload-artifact@v3
@@ -135,5 +139,6 @@ jobs:
135139
prerelease: true
136140
tag_name: ${{ steps.vars.outputs.DATE }}-${{ needs.build.outputs.SHORT_HASH }}
137141
files: |
142+
vmlinux/*
138143
kernel-image/*
139144
rootfs/*

0 commit comments

Comments
 (0)