Skip to content

Commit ae27f37

Browse files
authored
Merge pull request #98 from per1234/update-actions
Update GitHub Actions actions used in sketch compilation CI workflows
2 parents f21c25d + a95aef6 commit ae27f37

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/compile-examples.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
- ~/Arduino/libraries/Arduino_LPS22HB/examples
5555
- ~/Arduino/libraries/ArduinoDMX/examples
5656
- ~/Arduino/libraries/ArduinoRS485/examples
57+
SKETCHES_REPORTS_PATH: sketches-reports
5758

5859
strategy:
5960
fail-fast: false
@@ -108,7 +109,7 @@ jobs:
108109
# CapacitiveSensor library does not support megaAVR core yet
109110
rm -r "$GITHUB_WORKSPACE/extras/examples/10.StarterKit_BasicKit/p13_TouchSensorLamp"
110111
- name: Compile examples
111-
uses: arduino/actions/libraries/compile-examples@master
112+
uses: arduino/compile-sketches@v1
112113
with:
113114
github-token: ${{ secrets.GITHUB_TOKEN }}
114115
fqbn: ${{ matrix.board.fqbn }}
@@ -145,9 +146,10 @@ jobs:
145146
${{ matrix.additional-sketch-paths }}
146147
enable-deltas-report: 'true'
147148
verbose: 'true'
149+
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
148150

149151
- name: Save memory usage change report as artifact
150-
uses: actions/upload-artifact@v1
152+
uses: actions/upload-artifact@v2
151153
with:
152-
name: size-deltas-reports
153-
path: size-deltas-reports
154+
path: ${{ env.SKETCHES_REPORTS_PATH }}
155+
name: ${{ env.SKETCHES_REPORTS_PATH }}

.github/workflows/report-size-deltas.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ jobs:
1010

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

0 commit comments

Comments
 (0)