feat: add bridge firmware release workflows

This commit is contained in:
Jared Dohrman committed 2026-05-05 20:50:57 +10:00
1 parent c42cc03069
commit 21daf79ddf
7 files changed
+101 -5

No files matched your search

@@ -0,0 +1,42 @@
name: EastMesh Build Repeater ESP-NOW Bridge Firmwares
permissions:
contents: write
on:
workflow_dispatch:
push:
tags:
- 'repeater-bridge-espnow-v*'
jobs:
build:
runs-on: ubuntu-latest
env:
OFFICIAL_MESHCORE_VERSION: ${{ vars.OFFICIAL_MESHCORE_VERSION }}
steps:
- name: Clone Repo
uses: actions/checkout@v6
- name: Setup Build Environment
uses: ./.github/actions/setup-build-environment
- name: Build Firmwares
run: /usr/bin/env bash eastmesh-build.sh build-repeater-bridge-espnow-firmwares
- name: Upload Workflow Artifacts
uses: actions/upload-artifact@v7
with:
name: repeater-bridge-espnow-firmwares
path: out
- name: Create Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
name: Repeater ESP-NOW Bridge Firmware ${{ env.RELEASE_VERSION }}
body: ""
draft: true
files: out/*
@@ -5,6 +5,9 @@ permissions:
on:
workflow_dispatch:
push:
tags:
- 'repeater-mqtt-bridge-eastmesh-*'
jobs:
@@ -29,3 +32,12 @@ jobs:
with:
name: repeater-mqtt-bridge-firmwares
path: out
- name: Create Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
name: Repeater MQTT Bridge Firmware ${{ env.RELEASE_VERSION }}
body: ""
draft: true
files: out/*