From 874da412bfa60b0cd4dcc3772c79ad12753c4981 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Thu, 19 Oct 2023 12:02:26 +0200 Subject: [PATCH] chore(ci): properly validate produced jsons. Signed-off-by: Federico Di Pierro --- .github/workflows/update-kernels.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/update-kernels.yml b/.github/workflows/update-kernels.yml index fa72f1d..c01431a 100644 --- a/.github/workflows/update-kernels.yml +++ b/.github/workflows/update-kernels.yml @@ -35,6 +35,16 @@ jobs: mkdir $RUNNER_TEMP/aarch64 kernel-crawler crawl --distro="*" --arch=aarch64 > $RUNNER_TEMP/aarch64/list.json + - name: Install deps + run: | + apt update + apt install -y jq + + - name: Validate jsons + run: | + cat $RUNNER_TEMP/x86_64/list.json | jq empty + cat $RUNNER_TEMP/aarch64/list.json | jq empty + - name: Move everything under site folder run: | mkdir site/