run_simulator
This commit is contained in:
parent
0e0a17532f
commit
1a1fcc9127
|
@ -4,7 +4,7 @@ on:
|
|||
schedule:
|
||||
- cron: '10 17 * * *' # build fresh every 5:10 PM
|
||||
push:
|
||||
pull_request:
|
||||
# pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
@ -21,8 +21,10 @@ 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
|
||||
|
@ -30,6 +32,7 @@ jobs:
|
|||
artifacts: bin srec hex list map elf bundle autoupdate
|
||||
uploads: ini ${{steps.set-variables.outputs.upload}}
|
||||
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}}
|
||||
|
|
Loading…
Reference in New Issue