File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 41
41
42
42
- name : Build ${{ matrix.bsp.name }}
43
43
run : |
44
- build_invocation=$(cat ./crates.json | jq -Mr --arg board '${{ matrix.bsp.name }}' -c '.boards | .[$board] | .build')
45
44
set -ex
46
- pushd boards/${{ matrix.bsp.name }}
47
- $(${build_invocation})
48
- popd
45
+ build_invocation=$(cat ./crates.json | jq -Mr --arg board '${{ matrix.bsp.name }}' -c '.boards | .[$board] | .build')
46
+ $("${build_invocation} -p ${{ matrix.bsp.name }}")
49
47
mkdir -p output
50
48
touch "output/build"
51
49
55
53
set -ex
56
54
build_invocation=$(cat ./crates.json | jq -Mr --arg board '${{ matrix.bsp.name }}' -c '.boards | .[$board] | .build')
57
55
clippy_invocation=$(echo ${build_invocation} | sed 's/cargo build/cargo clippy/g')
58
- cd boards/${{ matrix.bsp.name }}
59
- $(${clippy_invocation})
56
+ $("${clippy_invocation} -p ${{ matrix.bsp.name }}")
60
57
61
58
- name : Done
62
59
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments