mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 10:19:59 +00:00
b4c09ace23
* poc: consolidate variant build steps * use build-variant action * only checkout once and clean up after run * checkout before local action
26 lines
543 B
YAML
26 lines
543 B
YAML
name: Build RPI2040
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
board:
|
|
required: true
|
|
type: string
|
|
|
|
jobs:
|
|
build-rpi2040:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Build Raspberry Pi 2040
|
|
id: build
|
|
uses: ./.github/actions/build-variant
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
board: ${{ inputs.board }}
|
|
build-script-path: bin/build-rpi2040.sh
|
|
artifact-paths: |
|
|
release/*.uf2
|
|
release/*.elf
|