mirror of
https://github.com/mist-devel/mist-firmware.git
synced 2026-03-07 11:07:17 +00:00
32 lines
817 B
YAML
32 lines
817 B
YAML
name: Build firmware
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
build-firmware:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ghcr.io/retrofun/mist-firmware-builder
|
|
steps:
|
|
- name: Checkout
|
|
id: checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build
|
|
id: build
|
|
run: BASE=/opt/arm-none-eabi/bin/arm-none-eabi make
|
|
|
|
- name: Get current date
|
|
id: date
|
|
run: echo "date=$(date '+%Y%m%d-%H%M%S')" >> $GITHUB_OUTPUT
|
|
|
|
- name: Save artifacts
|
|
id: artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: mist-firmware-binaries-${{ steps.date.outputs.date }}
|
|
path: |
|
|
firmware.bin
|
|
firmware.hex
|
|
firmware.upg
|