This commit is contained in:
David Holdeman 2024-03-12 17:46:59 -05:00
parent d3d1dd1ee5
commit 3c23856d37
No known key found for this signature in database
GPG Key ID: DBEE6FCFCC9DD9A6
1 changed files with 3 additions and 2 deletions

View File

@ -19,9 +19,10 @@ 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
else else
echo 'push="false"' >> $GITHUB_OUTPUT echo 'push=false' >> $GITHUB_OUTPUT
fi fi
- uses: ./ext/rusefi/.github/workflows/custom-board-build - uses: ./ext/rusefi/.github/workflows/custom-board-build