Update main.yml

This commit is contained in:
Wastl Kraus 2023-03-30 15:06:32 +02:00 committed by GitHub
parent 4f3a6ea8dd
commit d7f2f19d3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -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]