Skip to content

Merge pull request #8 from VoltCyclone/fix/humanization-injection #43

Merge pull request #8 from VoltCyclone/fix/humanization-injection

Merge pull request #8 from VoltCyclone/fix/humanization-injection #43

Workflow file for this run

name: Build
on:
push:
branches: [main]
tags: ['v*']
pull_request:
branches: [main]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install ARM GCC toolchain
run: |
sudo apt-get update
sudo apt-get install -y gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi
- name: Build firmware
run: make TOOLCHAIN=/usr/bin
- name: Upload firmware.hex
uses: actions/upload-artifact@v4
with:
name: firmware-hex
path: firmware.hex
- name: Publish GitHub Release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@v2
with:
files: firmware.hex
generate_release_notes: true
prerelease: ${{ contains(github.ref_name, '-') }}