github: Introduce workflow for generating bootrr.cpio

For kernel CI purposes it's convenient to always have access to the
latest bootrr.cpio archive. Introduce a workflow that composes this and
generates an artifact.

Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
This commit is contained in:
Bjorn Andersson
2024-04-23 14:49:15 -07:00
committed by Konrad Dybcio
parent 7ce7fd4e57
commit 57921a19b2

View File

@@ -0,0 +1,19 @@
name: generate-cpio-archive
on:
push:
branches: master
jobs:
generate-cpio:
runs-on: ubuntu-latest
steps:
- name: checkout master
uses: actions/checkout@v4
- name: make cpio.gz
run: |
make cpio.gz
- name: archive bootrr.cpio.gz
uses: actions/upload-artifact@v4
with:
name: bootrr.cpio.gz
path: bootrr.cpio.gz