Skip to content

Update GitHub Actions actions used in sketch compilation CI workflows #98

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 2 commits into from
Apr 20, 2021
Merged
Show file tree
Hide file tree
Changes from all 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
10 changes: 6 additions & 4 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
- ~/Arduino/libraries/Arduino_LPS22HB/examples
- ~/Arduino/libraries/ArduinoDMX/examples
- ~/Arduino/libraries/ArduinoRS485/examples
SKETCHES_REPORTS_PATH: sketches-reports

strategy:
fail-fast: false
Expand Down Expand Up @@ -108,7 +109,7 @@ jobs:
# CapacitiveSensor library does not support megaAVR core yet
rm -r "$GITHUB_WORKSPACE/extras/examples/10.StarterKit_BasicKit/p13_TouchSensorLamp"
- name: Compile examples
uses: arduino/actions/libraries/compile-examples@master
uses: arduino/compile-sketches@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{ matrix.board.fqbn }}
Expand Down Expand Up @@ -145,9 +146,10 @@ jobs:
${{ matrix.additional-sketch-paths }}
enable-deltas-report: 'true'
verbose: 'true'
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}

- name: Save memory usage change report as artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: size-deltas-reports
path: size-deltas-reports
path: ${{ env.SKETCHES_REPORTS_PATH }}
name: ${{ env.SKETCHES_REPORTS_PATH }}
5 changes: 4 additions & 1 deletion .github/workflows/report-size-deltas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ jobs:

steps:
- name: Comment size deltas reports to PRs
uses: arduino/actions/libraries/report-size-deltas@master
uses: arduino/report-size-deltas@v1
with:
# The name of the workflow artifact created by the sketch compilation workflow
sketches-reports-source: sketches-reports