diff --git a/.github/workflows/esp32_build.yml b/.github/workflows/esp32_build.yml index 832d47f..99e9b53 100644 --- a/.github/workflows/esp32_build.yml +++ b/.github/workflows/esp32_build.yml @@ -35,8 +35,11 @@ jobs: with: submodules: "recursive" - - name: Delete CMakeLists.txt in components (only used for simulator build) - run: rm -f firmware/components/CMakeLists.txt + - name: Extract API key + env: + INSIGHTS_API_KEY: ${{ secrets.INSIGHTS_API_KEY }} + run: | + echo $INSIGHTS_API_KEY > firmware/components/analytics/insights_api_key.txt - name: ESP-IDF build uses: espressif/esp-idf-ci-action@v1