Update main.yml
This commit is contained in:
parent
4f3a6ea8dd
commit
d7f2f19d3d
|
|
@ -1,6 +1,9 @@
|
||||||
name: Arduino CI
|
name: Arduino CI
|
||||||
|
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -18,9 +21,7 @@ jobs:
|
||||||
|
|
||||||
- name: Compile sketch
|
- name: Compile sketch
|
||||||
run: |
|
run: |
|
||||||
arduino-cli compile --fqbn ${{ matrix.board }} ${{ github.workspace }}/example/dshot300
|
arduino-cli compile --fqbn esp32:esp32 ${{ github.workspace }}/examples/dshot300
|
||||||
env:
|
env:
|
||||||
ARDUINO_LIBRARY_PATH: ${{ github.workspace }}/libraries
|
ARDUINO_LIBRARY_PATH: ${{ github.workspace }}/libraries
|
||||||
ARDUINO_DATA_PATH: ${{ github.workspace }}/arduino-data
|
ARDUINO_DATA_PATH: ${{ github.workspace }}/arduino-data
|
||||||
matrix:
|
|
||||||
board: [esp32:esp32]
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue