-
Notifications
You must be signed in to change notification settings - Fork 49
34 lines (30 loc) · 1019 Bytes
/
draft-release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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