mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
28 lines
508 B
YAML
28 lines
508 B
YAML
name: Build Firmware
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Compile firmware
|
|
run: |
|
|
chmod +x compile-firmware.sh compile-app.sh
|
|
./compile-firmware.sh All
|
|
./compile-app.sh All
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: firmware-artifact
|
|
path: |
|
|
build/*/*.bin
|
|
build/Apps/*.app
|