draft-release #126
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/esp-idf-ci-action@v1.1.0 | |
with: | |
esp_idf_version: v5.1.1 | |
target: esp32 | |
command: 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/upload-artifact@v2.2.1 | |
with: | |
name: binaries.zip | |
# A file, directory or wildcard pattern that describes what to upload | |
path: ./binaries.zip |