Skip to content

Commit

Permalink
fix printing of subtargets
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilgardis committed Jun 14, 2022
1 parent 80891e7 commit 0042a0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ jobs:
matrix="$(yq --output-format json <<< "${matrix}")"
fi
jq -C <<< "${matrix}"
jq -C '[.[] | . += {"pretty": ([.target] + [select(.sub != null).sub]) | join(":")}]' <<< "${matrix}"
echo "::set-output name=matrix::$(jq -c <<< "${matrix}")"
echo "::set-output name=matrix::$(jq -c '[.[] | . += {"pretty": ([.target] + [select(.sub != null).sub]) | join(":")}]' <<< "${matrix}")"
env:
commit_message: >
${{
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
- { target: thumbv7m-none-eabi, os: ubuntu-latest, std: 1 }
docker-image:
name: docker-image (${{ matrix.target }})
name: docker-image (${{ matrix.pretty }})
runs-on: ${{ matrix.os }}
needs: [shellcheck, test, generate-matrix]
if: github.event_name == 'push'
Expand Down

0 comments on commit 0042a0b

Please sign in to comment.