mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-03-29 08:39:56 +00:00
39 lines
883 B
YAML
39 lines
883 B
YAML
name: Build Repeater Firmwares
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
tags:
|
|
- 'repeater-*'
|
|
|
|
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-repeater-firmwares
|
|
|
|
- name: Upload Workflow Artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: repeater-firmwares
|
|
path: out
|
|
|
|
- name: Create Release
|
|
uses: softprops/action-gh-release@v2
|
|
if: startsWith(github.ref, 'refs/tags/')
|
|
with:
|
|
name: Repeater Firmware ${{ env.GIT_TAG_VERSION }}
|
|
body: ""
|
|
draft: true
|
|
files: out/* |