run_simulator
This commit is contained in:
parent
0e0a17532f
commit
1a1fcc9127
|
@ -4,7 +4,7 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '10 17 * * *' # build fresh every 5:10 PM
|
- cron: '10 17 * * *' # build fresh every 5:10 PM
|
||||||
push:
|
push:
|
||||||
pull_request:
|
# pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
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
|
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 '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
|
||||||
|
@ -30,6 +32,7 @@ jobs:
|
||||||
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}}
|
||||||
|
|
Loading…
Reference in New Issue