From 558a9d3ddc03df57c94d71974a3508dcb304b30c Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Sun, 24 Mar 2024 22:16:58 +0000 Subject: [PATCH] More tweaks. --- .github/workflows/build-user-config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-user-config.yml b/.github/workflows/build-user-config.yml index c06d501817b1..9e20a7574372 100644 --- a/.github/workflows/build-user-config.yml +++ b/.github/workflows/build-user-config.yml @@ -59,6 +59,9 @@ jobs: run: | echo "build_dir=$(mktemp -d)" >> $GITHUB_ENV + - name: Install yaml2json + run: python3 -m pip install remarshal && apt-get update && apt-git install -y jq + - name: Prepare variables shell: sh -x {0} env: @@ -76,6 +79,8 @@ jobs: echo "base_dir=${GITHUB_WORKSPACE}" >> $GITHUB_ENV fi + echo ".include[${job_index}].snippets" + yaml2json "${{ inputs.build_matrix_path }}" | jq -c ".include[${job_index}].snippets" echo "zephyr_version=${ZEPHYR_VERSION}" >> $GITHUB_ENV