Skip to content

update release.yml

update release.yml #3

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-22.04
container:
image: espressif/idf:v5.4.1
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build firmware
run: |
. $IDF_PATH/export.sh
idf.py set-target esp32s3
idf.py build
shell: bash
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: firmware-${{ github.ref_name }}
path: |
build/webcam_chan.bin
build/bootloader/bootloader.bin
build/partition_table/partition-table.bin
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: |
build/webcam_chan.bin
build/bootloader/bootloader.bin
build/partition_table/partition-table.bin
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}