mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
45 lines
964 B
YAML
45 lines
964 B
YAML
name: Build Repeater Firmwares
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
tags:
|
|
- 'repeater-*'
|
|
|
|
env:
|
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
|
|
jobs:
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Clone Repo
|
|
uses: actions/checkout@v6
|
|
|
|
- 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-repeater-firmwares
|
|
|
|
- name: Upload Workflow Artifacts
|
|
uses: actions/upload-artifact@v7
|
|
with:
|
|
name: repeater-firmwares
|
|
path: out
|
|
|
|
- name: Create Release
|
|
uses: softprops/action-gh-release@v3
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
with:
|
|
name: Repeater Firmware ${{ env.GIT_TAG_VERSION }}
|
|
body: ""
|
|
draft: true
|
|
files: out/* |