split out the build subactions appropriately

This commit is contained in:
Sadek Baroudi 2022-10-28 13:07:09 -07:00
parent d7ad207322
commit 41e906368f
1 changed files with 8 additions and 4 deletions

View File

@ -47,10 +47,14 @@ jobs:
keyboards=$(bash bin/fp_build.sh -l| sed s~keyboards/fingerpunch/~~)
echo "${keyboards}" | while IFS= read -r line ; do
echo "Building for ${line}"
make_command="bin/fp_build.sh -k ${line} -r"
echo "${make_command}"
$make_command
case "$line" in
*${{ matrix.keyboard }}*)
echo "Building for ${line}"
make_command="bin/fp_build.sh -k ${line} -r"
echo "${make_command}"
$make_command
;;
esac
done
- name: Archive firmware