fix(wifi_remote): Fix checking API compat against reference dir

rather than git history, as it might now work in GitHub CI (due to
shallow cloning)
This commit is contained in:
David Cermak
2024-09-26 08:28:05 +02:00
parent 73c48307a3
commit 1a57a878be
2 changed files with 33 additions and 16 deletions
+2 -1
View File
@@ -24,8 +24,9 @@ jobs:
run: |
. ${IDF_PATH}/export.sh
pip install idf-component-manager idf-build-apps --upgrade
cp -r ./components/esp_wifi_remote ./components/esp_wifi_remote_base
cd ./components/esp_wifi_remote/scripts
python generate_and_check.py
python generate_and_check.py --base-dir ../../esp_wifi_remote_base
build_wifi_remote:
if: contains(github.event.pull_request.labels.*.name, 'wifi_remote') || github.event_name == 'push'