Skip to content

Update build-examples-gh-pages-on-push.yml #29

Update build-examples-gh-pages-on-push.yml

Update build-examples-gh-pages-on-push.yml #29

name: "ESP-IDF build examples to github pages (push)"
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
build:
strategy:
matrix:
idf_ver: ["v5.1.1"]
runs-on: ubuntu-latest
container: espressif/idf:${{ matrix.idf_ver }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Upgrade component manager
shell: bash
run: |
pip install idf-component-manager --upgrade
- name: Action for building binaries and config.toml
uses: espressif/[email protected]
with:
idf_version: ${{ matrix.idf_ver }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: built_files
path: binaries/