Skip to content

Commit 70b3022

Browse files
kemotahaclaude
authored andcommitted
github-actions: Upload built kernel binaries as a downloadable artifact
Add an upload-artifact step that publishes the kernel-<kernelrelease>-<arch>.tar.xz tarball produced by build_kernel.sh in kernel-container-build, so testers can download the built kernel (vmlinuz, modules, config, System.map, optional initramfs) directly from each CI run. Paired with the matching extraction step in ctrliq/kernel-container-build. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent d999661 commit 70b3022

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/kernel-build-and-test-multiarch.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,18 @@ jobs:
345345
path: output/kernel-build.log
346346
retention-days: 7
347347

348+
# Upload kernel binaries tarball (vmlinuz, modules, config) for downstream testing.
349+
# Produced by build_kernel.sh in kernel-container-build; the tarball inside is
350+
# named kernel-<kernelrelease>-<arch>.tar.xz.
351+
- name: Upload kernel binaries tarball
352+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
353+
if: always()
354+
with:
355+
name: kernel-binaries-${{ matrix.arch }}
356+
path: output/kernel-*.tar.xz
357+
retention-days: 7
358+
if-no-files-found: warn
359+
348360
# Upload kselftests qcow2 image
349361
- name: Upload kselftests qcow2 image
350362
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1

0 commit comments

Comments
 (0)