mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-08-02 10:16:11 +00:00
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>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
fa842b202a
commit
67bccd3dd4
@@ -14,7 +14,7 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build-standard:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
@@ -35,31 +35,8 @@ jobs:
|
|||||||
name: wio-tracker-l1-firmwares
|
name: wio-tracker-l1-firmwares
|
||||||
path: out
|
path: out
|
||||||
|
|
||||||
build-font-switcher:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Clone Repo (font-switcher branch)
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
ref: font-switcher
|
|
||||||
|
|
||||||
- name: Setup Build Environment
|
|
||||||
uses: ./.github/actions/setup-build-environment
|
|
||||||
|
|
||||||
- name: Build Font Switcher Firmwares
|
|
||||||
env:
|
|
||||||
FIRMWARE_VERSION: ${{ env.GIT_TAG_VERSION }}-font-switcher
|
|
||||||
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-font-switcher-firmwares
|
|
||||||
path: out
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: [build-standard, build-font-switcher]
|
needs: [build]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
steps:
|
steps:
|
||||||
@@ -67,18 +44,12 @@ jobs:
|
|||||||
- name: Extract Version from Git Tag
|
- name: Extract Version from Git Tag
|
||||||
run: echo "GIT_TAG_VERSION=v${GITHUB_REF_NAME#*-v}" >> $GITHUB_ENV
|
run: echo "GIT_TAG_VERSION=v${GITHUB_REF_NAME#*-v}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Download Standard Firmwares
|
- name: Download Firmwares
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: wio-tracker-l1-firmwares
|
name: wio-tracker-l1-firmwares
|
||||||
path: out
|
path: out
|
||||||
|
|
||||||
- name: Download Font Switcher Firmwares
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: wio-tracker-l1-font-switcher-firmwares
|
|
||||||
path: out
|
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user