barback32/.woodpecker.yml

32 lines
722 B
YAML
Raw Normal View History

labels:
hardware: esp32
2024-11-12 23:22:15 -05:00
steps:
2022-04-15 02:15:34 -04:00
build:
image: espressif/idf:v5.2.2
when:
- event: [ tag, push, manual ]
2022-04-15 02:15:34 -04:00
commands:
- git submodule update --init
- if [ -f sdkconfig ]; then
- rm sdkconfig
- fi
- . /opt/esp/idf/export.sh
- idf.py reconfigure
- idf.py build
release:
image: woodpeckerci/plugin-release
secrets: [ ACCESS_TOKEN ]
when:
- event: tag
settings:
log_level: debug
title: 'Release ${CI_COMMIT_TAG}'
files:
2024-11-13 11:37:48 -05:00
- 'build/barback.bin'
api_key:
from_secret: ACCESS_TOKEN
generate_release_notes: true
overwrite: true
upload-url: https://git.oit.cloud/repos/${CI_REPO}/releases