From 57921a19b2e601fcdca4fbb9a93c42f95249c077 Mon Sep 17 00:00:00 2001 From: Bjorn Andersson Date: Tue, 23 Apr 2024 14:49:15 -0700 Subject: [PATCH] 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 --- .github/workflows/generate-cpio-archive.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/generate-cpio-archive.yml diff --git a/.github/workflows/generate-cpio-archive.yml b/.github/workflows/generate-cpio-archive.yml new file mode 100644 index 0000000..30eb2ff --- /dev/null +++ b/.github/workflows/generate-cpio-archive.yml @@ -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