CI: solve git rev-parse issue

This commit is contained in:
Pierre Kancir 2022-05-16 11:12:43 +02:00 committed by Peter Barker
parent 988eb67298
commit 9b3a20aacb

View File

@ -1,8 +1,8 @@
name: test environment setup name: test environment setup
on: on:
workflow_dispatch:
schedule: schedule:
- cron: '0 0 * * 6' # every saturday at midnight - cron: '0 0 * * 6' # every saturday at midnight
workflow_dispatch:
concurrency: concurrency:
@ -104,6 +104,7 @@ jobs:
shell: 'script -q -e -c "bash {0}"' shell: 'script -q -e -c "bash {0}"'
run: | run: |
source ~/.bashrc source ~/.bashrc
git config --global --add safe.directory /__w/ardupilot/ardupilot
./waf configure ./waf configure
./waf rover ./waf rover
@ -115,5 +116,6 @@ jobs:
shell: 'script -q -e -c "bash {0}"' shell: 'script -q -e -c "bash {0}"'
run: | run: |
source ~/.bashrc source ~/.bashrc
git config --global --add safe.directory /__w/ardupilot/ardupilot
./waf configure --board CubeOrange ./waf configure --board CubeOrange
./waf plane ./waf plane