Skip to content

Commit

Permalink
Log the snippets from the matrix.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Mar 24, 2024
1 parent 4435879 commit 3fc5b1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-user-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ jobs:
board: ${{ matrix.board }}
shield: ${{ matrix.shield }}
artifact_name: ${{ matrix.artifact-name }}
job_index: ${{ strategy.job-index }}
run: |
if [ -e zephyr/module.yml ]; then
export zmk_load_arg=" -DZMK_EXTRA_MODULES='${GITHUB_WORKSPACE}'"
Expand All @@ -75,6 +76,9 @@ jobs:
echo "base_dir=${GITHUB_WORKSPACE}" >> $GITHUB_ENV
fi
echo "${job_index}"
# yaml2json "${{ inputs.build_matrix_path }}" | jq -c ".include[${job_index}].snippets"
echo "zephyr_version=${ZEPHYR_VERSION}" >> $GITHUB_ENV
echo "extra_cmake_args=${shield:+-DSHIELD=\"$shield\"}${zmk_load_arg}" >> $GITHUB_ENV
echo "display_name=${shield:+$shield - }${board}" >> $GITHUB_ENV
Expand Down

0 comments on commit 3fc5b1a

Please sign in to comment.