ci: add Wio Tracker L1 firmware build and release workflow

Builds and releases only the _settings companion firmware variants
(USB and BLE) which contain the settings screen with display brightness,
buzzer, TX power, auto-off, GPS interval, timezone, low battery threshold,
and battery display mode.

Triggers on tags matching 'wio-tracker-*' (e.g. wio-tracker-v1.0.0)
or manually via workflow_dispatch. Creates a draft GitHub release.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-05-10 15:37:14 +02:00
parent 6c8a2cbdea
commit 639183d101
2 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
name: Build Wio Tracker L1 Firmwares
permissions:
contents: write
on:
workflow_dispatch:
push:
tags:
- 'wio-tracker-*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone Repo
uses: actions/checkout@v4
- name: Setup Build Environment
uses: ./.github/actions/setup-build-environment
- name: Build Firmwares
env:
FIRMWARE_VERSION: ${{ env.GIT_TAG_VERSION }}
run: /usr/bin/env bash build.sh build-wio-tracker-l1-firmwares
- name: Upload Workflow Artifacts
uses: actions/upload-artifact@v4
with:
name: wio-tracker-l1-firmwares
path: out
- name: Create Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
name: Wio Tracker L1 Firmware ${{ env.GIT_TAG_VERSION }}
body: ""
draft: true
files: out/*