helping CI?

This commit is contained in:
rusefi 2020-12-12 22:40:12 -05:00
parent 00726d7ab5
commit 55f9d5a6dd
1 changed files with 7 additions and 1 deletions

View File

@ -49,10 +49,16 @@ jobs:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
#
# we have minor drama - looks like unit_tests are invoked from root folder while a more natural is to invoke those
# from 'unit_tests' folder
# as a work-around to leverage unit_tests/.gitignore we move those files into expected folder for now
#
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub build-unit-tests Action"
git add triggers.txt
mv triggers.txt unit_tests
mv *.logicdata unit_tests
git status
OUT=$(git commit -m "Trigger wheel definitions" triggers.txt 2>&1) || echo "commit failed, finding out why"
echo "$OUT"