de-coupling for sake of GHA logs readability

This commit is contained in:
Andrey 2024-03-21 16:27:50 -04:00 committed by rusefillc
parent 1af000e4e7
commit fb59e17462
1 changed files with 16 additions and 2 deletions

View File

@ -19,7 +19,7 @@ inputs:
default: ./generated/
sim_output:
required: false
default: ./generated/
default: ./generated/
lts:
description: 'LTS Build'
required: false
@ -162,7 +162,7 @@ runs:
fi
sudo bash ${{inputs.rusefi_dir}}/misc/actions/add-ubuntu-latest-apt-mirrors.sh
sudo apt-get install sshpass mtools $SIM_REQS
- name: Repo Status
shell: bash
run: |
@ -178,6 +178,20 @@ runs:
echo "Not a repository"
fi
- name: Handle configs separately just to make github logs more readable
working-directory: ${{inputs.rusefi_dir}}/firmware
shell: bash
run: |
bash bin/compile.sh $BOARD_META_PATH config
- name: Building simulator separately just to make github logs more readable
working-directory: ${{inputs.rusefi_dir}}/firmware
shell: bash
run: |
if [ "$RUN_SIMULATOR" == "true" ]; then
bash bin/compile.sh $BOARD_META_PATH ../simulator/build/rusefi_simulator
fi
- name: Build Firmware
working-directory: ${{inputs.rusefi_dir}}/firmware
shell: bash