Skip to content

Bump actions/upload-artifact from 4 to 6 #145

Bump actions/upload-artifact from 4 to 6

Bump actions/upload-artifact from 4 to 6 #145

Workflow file for this run

---
name: Compile Sketches
'on':
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]*"
branches:
- "master"
- "ci-builds-*"
pull_request:
workflow_dispatch:
merge_group:
schedule:
- cron: "30 1 1 * *" # Scheduled build test 01h30 1st of Month
concurrency:
# https://docs.github.com/en/actions/examples/using-concurrency-expressions-and-a-test-matrix
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: ${{ !startsWith(github.ref, 'refs/tags/v') || github.ref != 'refs/heads/master' }}
permissions: {}
jobs:
compile-sketches:
runs-on: ubuntu-latest
permissions:
contents: read # needed to fetch base commit
pull-requests: write # needed to post the delta report
checks: write # (optional) if using Checks API instead of PR comment
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0 # required for comparing base vs. head commits
# See: https://github.com/arduino/compile-sketches#readme
- name: Compile sketches
uses: arduino/compile-sketches@v1
with:
enable-deltas-report: true
fqbn: esp32:esp32:esp32
github-token: ${{ secrets.GITHUB_TOKEN }}
sketch-paths: |
- examples/CharacteristicsConfiguration/CharacteristicsConfiguration.ino
- examples/DrivingControllerTest/DrivingControllerTest.ino
- examples/Fightstick/Fightstick.ino
- examples/FlightControllerTest/FlightControllerTest.ino
- examples/ForcePairingMode/ForcePairingMode.ino
- examples/Gamepad/Gamepad.ino
- examples/GetPeerInfo/GetPeerInfo.ino
- examples/IndividualAxes/IndividualAxes.ino
- examples/Keypad4x4/Keypad4x4.ino
- examples/MultipleButtons/MultipleButtons.ino
- examples/MultipleButtonsAndHats/MultipleButtonsAndHats.ino
- examples/MultipleButtonsDebounce/MultipleButtonsDebounce.ino
- examples/PotAsAxis/PotAsAxis.ino
- examples/SetBatteryLevel/SetBatteryLevel.ino
- examples/SingleButton/SingleButton.ino
- examples/SingleButtonDebounce/SingleButtonDebounce.ino
- examples/SpecialButtons/SpecialButtons.ino
- examples/TestAll/TestAll.ino
- examples/TestReceivingOutputReport/TestReceivingOutputReport.ino
libraries: |
- name: NimBLE-Arduino
- name: Keypad
- name: Bounce2
- source-path: .
- name: Upload report size data
uses: actions/upload-artifact@v6
with:
name: report-size-data
path: sketches-reports