This commit is contained in:
@@ -7,7 +7,9 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
env:
|
||||
PROJECT_BIN: "mcu-code.bin"
|
||||
CHIP: esp32c6
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
@@ -17,14 +19,12 @@ jobs:
|
||||
uses: ./.gitea/actions/esp-idf-ci-action
|
||||
with:
|
||||
esp_idf_version: v6.0.2
|
||||
target: esp32c6
|
||||
|
||||
target: ${{env.CHIP}}
|
||||
- name: Package firmware
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
set -euo pipefail
|
||||
NAME="firmware-${GITHUB_REF_NAME}"
|
||||
PROJECT_BIN="mcu-code.bin"
|
||||
|
||||
mkdir -p "release/${NAME}/build/bootloader" "release/${NAME}/build/partition_table"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user