only:Build Custom Board Firmware

This commit is contained in:
rusefillc 2023-12-02 00:30:20 -05:00
parent 14d4e2ddeb
commit 45c71ed884
1 changed files with 13 additions and 1 deletions

View File

@ -58,11 +58,23 @@ jobs:
run: |
bash gen_config_board.sh ../../.. ${{inputs.shortBoardName}}
- name: Gen Config Status
- name: Config Status
working-directory: ext/rusefi
run: |
git status
- name: Push Config
run: |
mkdir -p generated
cp ext/rusefi/firmware/controllers/generated/rusefi_generated.h generated
cp ext/rusefi/firmware/controllers/generated/signature_${{inputs.shortBoardName}}.h generated
cp ext/rusefi/firmware/tunerstudio/generated/rusefi_${{inputs.shortBoardName}}.ini generated
git config --local user.email "action@github.com"
git config --local user.name "GitHub git update Action"
git add generated/*
git commit -am "GHA Automation Snapshot just for reference"
git status
- name: Upload .ini files to server
working-directory: ext/rusefi/firmware/tunerstudio/generated
run: ../upload_ini.sh ${{inputs.iniFileName}} ${{ secrets.RUSEFI_ONLINE_FTP_USER }} ${{ secrets.RUSEFI_ONLINE_FTP_PASS }} ${{ secrets.RUSEFI_FTP_SERVER }}