Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Bump actions/upload-artifact from 3 to 4 #194

Bump actions/upload-artifact from 3 to 4

Bump actions/upload-artifact from 3 to 4 #194

Workflow file for this run

name: Compile
on:
pull_request:
paths:
- ".github/workflows/compile-fw.yml"
- "l3xz-leg-ctrl-firmware.ino"
- "extra/**"
push:
paths:
- ".github/workflows/compile-fw.yml"
- "l3xz-leg-ctrl-firmware.ino"
- "extra/**"
jobs:
build:
runs-on: ubuntu-latest
env:
SKETCHES_REPORTS_PATH: sketches-reports
strategy:
fail-fast: false
matrix:
board:
- fqbn: rp2040:rp2040:arduino_nano_connect
platforms: |
- name: rp2040:rp2040
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Compile
uses: arduino/compile-sketches@main
with:
fqbn: ${{ matrix.board.fqbn }}
platforms: ${{ matrix.board.platforms }}
enable-deltas-report: true
github-token: ${{ secrets.GITHUB_TOKEN }}
libraries: |
- source-path: ./
- source-url: https://github.com/107-systems/107-Arduino-Cyphal.git
- source-url: https://github.com/107-systems/107-Arduino-Cyphal-Support.git
- name: 107-Arduino-AS504x
- name: 107-Arduino-Debug
- name: 107-Arduino-MCP2515
- name: 107-Arduino-UniqueId
- name: 107-Arduino-24LCxx
- name: 107-Arduino-littlefs
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
sketch-paths: ./
- name: Save memory usage change report as artifact
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
name: ${{ env.SKETCHES_REPORTS_PATH }}
path: ${{ env.SKETCHES_REPORTS_PATH }}