* New lib for Livolo radio transmitter based on hardware timer (more … #14
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: Build DigiLivolo firmware | |
on: | |
# Triggers the workflow on push or pull request events but only for the main branch | |
push: | |
branches: [ main, dev ] | |
tags: | |
- "v*.*.*" | |
pull_request: | |
branches: [ main, dev ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build PlatformIO project | |
uses: karniv00l/platformio-run-action@v1 | |
with: | |
project-dir: firmware | |
environments: digispark-tiny | |
disable-auto-clean: true | |
- name: Make and upload release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
generate_release_notes: true | |
make_latest: true | |
files: | | |
firmware/.pio/build/digispark-tiny/firmware.hex | |
firmware/.pio/build/digispark-tiny/firmware.elf |