mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
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:
42
.github/workflows/build-wio-tracker-l1-firmwares.yml
vendored
Normal file
42
.github/workflows/build-wio-tracker-l1-firmwares.yml
vendored
Normal 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/*
|
||||
Reference in New Issue
Block a user