Skip to content

Upgrade upload/artifacts and checkout actions to v4 #429

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 10, 2025
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 22 additions & 14 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,26 @@ jobs:
- libraries/RTC/examples/Test_RTC
- libraries/SoftwareSerial
- libraries/WDT
SKETCHES_REPORTS_PATH: sketches-reports

strategy:
fail-fast: false

matrix:
board: [
{"fqbn": "arduino:renesas_portenta:portenta_c33"},
{"fqbn": "arduino:renesas_uno:minima"},
{"fqbn": "arduino:renesas_uno:unor4wifi"},
{"fqbn": "arduino-git:renesas:portenta_c33"},
{"fqbn": "arduino-git:renesas:minima"},
{"fqbn": "arduino-git:renesas:unor4wifi"},
]
board:
- fqbn: arduino:renesas_portenta:portenta_c33
id: c33
- fqbn: arduino:renesas_uno:minima
id: minima
- fqbn: arduino:renesas_uno:unor4wifi
id: wifi
- fqbn: arduino-git:renesas:portenta_c33
id: git_c33
- fqbn: arduino-git:renesas:minima
id: git_minima
- fqbn: arduino-git:renesas:unor4wifi
id: git_wifi


# make board type-specific customizations to the matrix jobs
include:
Expand Down Expand Up @@ -106,11 +113,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# The source files are in a subfolder of the ArduinoCore-API repository, so it's not possible to clone it directly to the final destination in the core
- name: Checkout ArduinoCore-API
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: arduino/ArduinoCore-API
path: extras/ArduinoCore-API
Expand All @@ -125,7 +132,7 @@ jobs:
if: steps.checkapi.outputs.IS_API == 'true'

- name: Checkout Basic examples
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: arduino/arduino-examples
path: examples
Expand Down Expand Up @@ -173,9 +180,10 @@ jobs:
enable-deltas-report: 'false'
verbose: 'true'
github-token: ${{ secrets.GITHUB_TOKEN }}
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}

- name: Save memory usage change report as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sketches-reports
path: sketches-reports
path: ${{ env.SKETCHES_REPORTS_PATH }}
name: ${{ env.SKETCHES_REPORTS_PATH }}-${{ matrix.board.id }}
Loading