Skip to content

Commit d1b989c

Browse files
committed
Update action versions used in CI workflows
The "smoke test" sketch compilation and reporting actions have been moved to dedicated repositories. The actions hosted at the old `arduino/actions/libraries/*` location will no longer be maintained. Since the time the actions were migrated to the dedicated repositories, a breaking change was made to the default value of the `sketches-report-path` input, which required a change to the values of the `name` and `path` inputs of the `actions/upload-artifact` action.
1 parent f21c25d commit d1b989c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/compile-examples.yml

Lines changed: 5 additions & 4 deletions
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 }}
@@ -147,7 +148,7 @@ jobs:
147148
verbose: 'true'
148149

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ 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

0 commit comments

Comments
 (0)