35
.github/workflows/esp-idf_release.yml
vendored
Normal file
35
.github/workflows/esp-idf_release.yml
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
name: Release the ESP-IDF Project
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- "ePaper-ESP-IDF/**"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
strategy:
|
||||
matrix:
|
||||
idf_ver: [release-v5.3]
|
||||
idf_target: [esp32s3]
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: "recursive"
|
||||
- name: ESP-IDF build
|
||||
uses: espressif/esp-idf-ci-action@v1
|
||||
with:
|
||||
esp_idf_version: ${{ matrix.idf_ver }}
|
||||
target: ${{ matrix.idf_target }}
|
||||
path: ePaper-ESP-IDF
|
||||
- name: Upload Firmware
|
||||
id: upload
|
||||
uses: JantHsueh/upload-file-action@master
|
||||
with:
|
||||
url: ${{ secrets.UPLOAD_URL }}
|
||||
fileForms: '{"file":"ePaper-ESP-IDF/build/firmware.bin"}'
|
Reference in New Issue
Block a user