Update build-u-boot-with-docker.yml

This commit is contained in:
Igor Pečovnik
2021-12-24 22:58:01 +01:00
committed by GitHub
parent 06eaef3f70
commit e346ad92ba

View File

@@ -57,7 +57,6 @@ jobs:
- name: Download changes
uses: actions/download-artifact@v2
with:
path: changes.txt
name: changes
- name: Prepare matrix
@@ -65,7 +64,7 @@ jobs:
run: |
MATRIX="cat build/config/target*.conf | grep -v \"^$\" | grep -v \"^#\" | ${{ inputs.include }} ${{ inputs.exclude }} sed 's/\s\s*/ /g' | cut -d' ' -f1,2 | sed 's/ /:/g' | sort | uniq"
[ ! -s changes.txt ] || unset MATRIX
[ -s changes.txt ] || unset MATRIX
echo ::set-output name=matrix::$(for x in $(eval $MATRIX); do echo $x; done|jq -cnR '[inputs | select(length>0)]' | jq)
U-boot: