kopia lustrzana https://github.com/meshtastic/firmware
34 wiersze
804 B
YAML
34 wiersze
804 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 base
|
|
id: base
|
|
uses: ./.github/actions/setup-base
|
|
|
|
- name: Build Raspberry Pi 2040
|
|
run: ./bin/build-rpi2040.sh ${{ inputs.board }}
|
|
|
|
- name: Get release version string
|
|
run: echo "version=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT
|
|
id: version
|
|
|
|
- name: Store binaries as an artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: firmware-${{ inputs.board }}-${{ steps.version.outputs.version }}.zip
|
|
overwrite: true
|
|
path: |
|
|
release/*.uf2
|
|
release/*.elf
|