Run simulator

This commit is contained in:
David Holdeman 2024-03-11 20:55:14 -05:00
parent 779da5268b
commit 6525e5d2b6
No known key found for this signature in database
GPG Key ID: DBEE6FCFCC9DD9A6
3 changed files with 8 additions and 5 deletions

View File

@ -19,16 +19,20 @@ jobs:
id: set-variables id: set-variables
run: | run: |
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 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 'upload=bundles' >> $GITHUB_OUTPUT
echo 'push=true' >> $GITHUB_OUTPUT
echo 'sim=true' >> $GITHUB_OUTPUT
else else
echo 'push="false"' >> $GITHUB_OUTPUT echo 'push=false' >> $GITHUB_OUTPUT
echo 'sim=false' >> $GITHUB_OUTPUT
fi fi
- uses: ./ext/rusefi/.github/workflows/custom-board-build - uses: ./ext/rusefi/.github/workflows/custom-board-build
with: with:
artifacts: bin srec hex list map elf bundle autoupdate artifacts: bin srec hex list map elf bundle autoupdate
uploads: ini ${{steps.set-variables.outputs.upload}} 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}} MY_REPO_PAT: ${{secrets.MY_REPO_PAT}}
RUSEFI_ONLINE_FTP_USER: ${{secrets.RUSEFI_ONLINE_FTP_USER}} RUSEFI_ONLINE_FTP_USER: ${{secrets.RUSEFI_ONLINE_FTP_USER}}
RUSEFI_ONLINE_FTP_PASS: ${{secrets.RUSEFI_ONLINE_FTP_PASS}} RUSEFI_ONLINE_FTP_PASS: ${{secrets.RUSEFI_ONLINE_FTP_PASS}}

1
.gitignore vendored
View File

@ -18,7 +18,6 @@ java_console_binary
err.txt err.txt
log.txt log.txt
*.rusefi_binary *.rusefi_binary
*.msq
# Eclipse # Eclipse
.metadata/ .metadata/

@ -1 +1 @@
Subproject commit 05d744b8f29549af6a11e24fe2ffa3ab343cc63d Subproject commit e5bdb0ab542955faf3cc08ba64221da95d58416f