barback32/.woodpecker.yml
Morgan 'ARR\!' Allen 9c580af534
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
release file is barback, not barhead
2024-11-13 08:37:48 -08:00

31 lines
722 B
YAML

labels:
hardware: esp32
steps:
build:
image: espressif/idf:v5.2.2
when:
- event: [ tag, push, manual ]
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:
- '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