run_simulator

This commit is contained in:
rusefillc 2024-03-17 11:43:17 -04:00
parent 0e0a17532f
commit 1a1fcc9127
1 changed files with 29 additions and 26 deletions

View File

@ -4,7 +4,7 @@ on:
schedule:
- cron: '10 17 * * *' # build fresh every 5:10 PM
push:
pull_request:
# pull_request:
workflow_dispatch:
jobs:
@ -21,15 +21,18 @@ jobs:
if [ "${{github.event_name}}" == "push" -o "${{github.event_name}}" == "schedule" -o "${{github.event_name}}" == "workflow_dispatch" ] && [ "${{github.ref}}" == "refs/heads/master" -o "${{github.ref}}" == "refs/heads/main" ]; then
echo 'upload=bundles' >> $GITHUB_OUTPUT
echo 'push=true' >> $GITHUB_OUTPUT
echo 'sim=true' >> $GITHUB_OUTPUT
else
echo 'push=false' >> $GITHUB_OUTPUT
echo 'sim=false' >> $GITHUB_OUTPUT
fi
- uses: ./ext/rusefi/.github/workflows/custom-board-build
with:
artifacts: bin srec hex list map elf bundle autoupdate
uploads: ini ${{steps.set-variables.outputs.upload}}
push: ${{ steps.set-variables.outputs.push }}
push: ${{steps.set-variables.outputs.push}}
run_simulator: ${{ steps.set-variables.outputs.sim }}
MY_REPO_PAT: ${{secrets.MY_REPO_PAT}}
RUSEFI_ONLINE_FTP_USER: ${{secrets.RUSEFI_ONLINE_FTP_USER}}
RUSEFI_ONLINE_FTP_PASS: ${{secrets.RUSEFI_ONLINE_FTP_PASS}}