Skip to content

fobe-projects/action-meshtastic-firmware-builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

action-meshtastic-firmware-builder

Build Meshtastic firmware in an Action-container

Usage

This action is meant to be used with fobe-projects/meshtastic-firmware.

Example workflow

jobs:
  build-nrf52:
    runs-on: ubuntu-24.04
    steps:
      - uses: actions/checkout@v4
        with:
          repository: meshtastic/firmware
          ref: master

      - name: Get release version string
        shell: bash
        run: echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
        id: version

      - name: Build FoBE Quill nRF52840 Mesh
        id: build
        uses: fobe-projects/action-meshtastic-firmware-builder@main
        with:
          pio_platform: nrf52
          pio_env: fobe_quill_nrf52840_mesh
          pio_target: build

      - name: Store binaries as an artifact
        uses: actions/upload-artifact@v4
        with:
          name: firmware-nrf52840-${{ inputs.board }}-${{ steps.version.outputs.long }}.zip
          overwrite: true
          path: |
            release/*.uf2
            release/*.elf

Parameters

Parameter Description Required Default
pio_platform PlatformIO Platform Yes
pio_env PlatformIO "environment" (board) Yes
pio_target PlatformIO target operation No build
ota_firmware_source OTA Binary to use (ESP32-only) No
ota_firmware_target OTA Binary destination (ESP32-Only) No

About

Build Meshtastic firmware in an Action-container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Shell 67.6%
  • Dockerfile 32.4%