Merge pull request #5 from chuckwagoncomputing/fix-push

fix push
This commit is contained in:
David Holdeman 2024-03-12 17:56:51 -05:00 committed by GitHub
commit c3ad321b6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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