Skip to content

fix: find all files (just to touch recursive) #22

fix: find all files (just to touch recursive)

fix: find all files (just to touch recursive) #22

Workflow file for this run

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Restore cached esp-idf sdk build files
id: cache-espidf-restore
uses: actions/cache/restore@v4
with:
path: |
build/esp-idf/*
key: espidf-5.3-last-buildfiles
- name: Build with esp-idf for target esp32
uses: espressif/esp-idf-ci-action@v1.1.0
with:
esp_idf_version: v5.3
target: esp32
path: '/'
command: |
find ./build/esp-idf/ -type f -name "*" -exec touch {} + && idf.py build
- name: Archive artifacts
uses: actions/upload-artifact@v4
with:
name: dist
path: |
build/*.bin
- name: Save cached esp-idf sdk build files
id: cache-espidf-save
uses: actions/cache/save@v4
with:
path: |
build/esp-idf/*
key: ${{ steps.cache-espidf-restore.outputs.cache-primary-key }}