Skip to content

Merge pull request #8 from netz39/7-upgrade-esp-idf-to-v5-1 #30

Merge pull request #8 from netz39/7-upgrade-esp-idf-to-v5-1

Merge pull request #8 from netz39/7-upgrade-esp-idf-to-v5-1 #30

Workflow file for this run

name: build ESP firmware
on:
pull_request:
branches:
- 'main'
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Create gitignored loginData file with github secrets
run: |
cd main
touch loginData.hpp
echo '#define WifiSsid "'${{ secrets.WIFI_SSID }}'"' >> loginData.hpp
echo '#define WifiPassword "'${{ secrets.WIFI_PASSWORD }}'"' >> loginData.hpp
echo 'constexpr auto AuthKey = "'${{ secrets.AUTH_TOKEN }}'";' >> loginData.hpp
shell: bash
- name: esp-idf build
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: release-v5.1
target: esp32