Files
MeshCore-Solo/.github/workflows/build-wio-tracker-l1-firmwares.yml
Jakub 67bccd3dd4 ci: merge font-switcher build into single wio-tracker-l1 firmware job
Font-switcher is now part of wio-tracker-l1-improvements, so there is
no longer a separate branch to check out. Drop the build-font-switcher
job and its download step in release; a single build produces the
combined dual-BLE/USB + font-switcher firmware.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 09:47:32 +02:00

60 lines
1.3 KiB
YAML

name: Build Wio Tracker L1 Firmwares
permissions:
contents: write
on:
workflow_dispatch:
push:
tags:
- 'wio-tracker-v*'
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
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
release:
needs: [build]
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Extract Version from Git Tag
run: echo "GIT_TAG_VERSION=v${GITHUB_REF_NAME#*-v}" >> $GITHUB_ENV
- name: Download Firmwares
uses: actions/download-artifact@v4
with:
name: wio-tracker-l1-firmwares
path: out
- name: Create Release
uses: softprops/action-gh-release@v2
with:
name: Wio Tracker L1 Firmware ${{ env.GIT_TAG_VERSION }}
body: ""
draft: true
files: out/*.uf2