Update _config.yml #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Arduino Leonardo Kyb | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
schedule: | |
- cron: "0 0 1 * *" # Runs at midnight on the first day of each month | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository with submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: true # Initializes submodules at the specified commit without updating | |
fetch-depth: 0 # Ensures full commit history for submodules | |
- name: Set up Arduino CLI | |
uses: arduino/setup-arduino-cli@v2 | |
- name: Install Arduino core | |
run: | | |
arduino-cli core update-index | |
arduino-cli core install arduino:avr | |
- name: Install Keyboard library | |
run: | | |
arduino-cli lib install "Keyboard" | |
- name: Compile Sketch | |
run: | | |
arduino-cli compile --fqbn arduino:avr:leonardo --verify Amiga500-USB-Keyboard-Leonardo/Amiga500-USB-Keyboard-Leonardo.ino |