Skip to content

Workflow file for this run

name: Build and Package Main
on:
push:
branches: [main]
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
continue-on-error: false
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
submodules: 'recursive'

Check failure on line 20 in .github/workflows/package_main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/package_main.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
- name: Build Main Code
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: release-v5.2
target: esp32s3
path: '.'
command: './patches.sh && idf.py build'
- name: Zip up firmware binaries
run: |
# zip the firmware bin files and flash args
zip -j -r firmware-binaries.zip build/esp-box-emu.bin build/bootloader/bootloader.bin build/partition_table/partition-table.bin build/flash_args
- name: Upload Build Outputs
uses: actions/upload-artifact@v4
with:
name: firmware-binaries
path: |
build/bootloader/bootloader.bin
build/partition_table/partition-table.bin
build/esp-box-emu.bin
build/flash_args
- name: Attach files to release
uses: softprops/action-gh-release@v2
if: ${{ github.event.release && github.event.action == 'published' }}
with:
files: firmware-binaries.zip