name: Build STM32 on: workflow_call: inputs: board: required: true type: string permissions: read-all jobs: build-stm32: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: Get release version string shell: bash run: echo "long=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT id: version - name: Build STM32WL id: build uses: meshtastic/gh-action-firmware@main with: pio_platform: stm32wl pio_env: ${{ inputs.board }} pio_target: build - name: Store binaries as an artifact uses: actions/upload-artifact@v4 with: name: firmware-stm32-${{ inputs.board }}-${{ steps.version.outputs.long }}.zip overwrite: true path: | release/*.hex release/*.bin release/*.elf