Skip to content

env

env #16

Workflow file for this run

name: Build
# env:
# ESP_IDF_VERSION: v5.3
on:
push:
branches:
- '**'
pull_request:
jobs:
load-env:
uses: ./.github/workflows/load-env.yaml
build:
name: Build for all platforms
runs-on: ubuntu-latest
needs: load-env
strategy:
matrix:
platform: [esp32, esp32s2, esp32s3]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: ${{ needs.load-env.outputs.esp_idf_version }}
target: ${{ matrix.platform }}
- name: Rename file
shell: bash
run: cp build/esp32-evse.bin ${{ matrix.platform }}-evse.bin
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: firmware-${{ matrix.platform }}
path: ${{ matrix.platform }}-evse.bin