draft-release #130
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: draft-release | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
# - name: Copy config | |
# run: | | |
# git checkout v1.0.0_pre && cp sdkconfig.defaults.mk1 sdkconfig | |
- name: esp-idf build | |
uses: espressif/[email protected] | |
with: | |
esp_idf_version: v5.1.1 | |
target: esp32 | |
command: idf.py update-dependencies build | |
- name: Archive binaries | |
run: | | |
zip --junk-paths binaries /app/ctag-fh-kiel/ctag-tbd/build/*.bin /app/ctag-fh-kiel/ctag-tbd/build/bootloader/*.bin /app/ctag-fh-kiel/ctag-tbd/build/partition_table/*.bin | |
- name: Upload binary | |
uses: actions/[email protected] | |
with: | |
name: binaries.zip | |
# A file, directory or wildcard pattern that describes what to upload | |
path: ./binaries.zip |