Add step to workflow to show dts.pre.tmp

This commit is contained in:
Manna Harbour 2021-12-22 11:55:44 +11:00
parent 27cf03cc48
commit 857a0d95ed

View File

@ -163,6 +163,14 @@ jobs:
run: west zephyr-export run: west zephyr-export
- name: Build (west build) - name: Build (west build)
run: west build -s zmk/app -b ${{ matrix.board }} -- ${{ steps.variables.outputs.shield-arg }} -DZMK_CONFIG="${GITHUB_WORKSPACE}/config" run: west build -s zmk/app -b ${{ matrix.board }} -- ${{ steps.variables.outputs.shield-arg }} -DZMK_CONFIG="${GITHUB_WORKSPACE}/config"
- name: Show dts.pre.tmp
if: ${{ failure() }}
run: |
dts="build/zephyr/${{ matrix.board }}.dts.pre.tmp"
if [ -f "$dts" ]
then
cat -n "$dts"
fi
- name: Prepare firmware artifacts - name: Prepare firmware artifacts
run: | run: |
for extension in "hex" "uf2" for extension in "hex" "uf2"