Skip to content

Commit 502162c

Browse files
committed
Update action versions used in sketch compilation workflows
Previously, due to the lack of a release, the development versions of the sketch compilation actions were used. Using release versions provides a more stable CI system for the ArduinoIoTCloud project.
1 parent c1f0077 commit 502162c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/compile-examples.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ jobs:
185185
uses: actions/checkout@v2
186186
with:
187187
repository: arduino/ArduinoCore-mbed
188-
# the arduino/actions/libraries/compile-examples action will install the platform from this path
188+
# the arduino/compile-sketches action will install the platform from this path
189189
path: ${{ env.ARDUINOCORE_MBED_STAGING_PATH }}
190190

191191
- name: Checkout ArduinoCore-API
@@ -207,7 +207,7 @@ jobs:
207207
run: pip3 install pyserial
208208

209209
- name: Compile examples
210-
uses: arduino/compile-sketches@main
210+
uses: arduino/compile-sketches@v1
211211
with:
212212
github-token: ${{ secrets.GITHUB_TOKEN }}
213213
platforms: ${{ matrix.platforms }}
@@ -232,7 +232,7 @@ jobs:
232232

233233
- name: Save memory usage change report as artifact
234234
if: github.event_name == 'pull_request'
235-
uses: actions/upload-artifact@v1
235+
uses: actions/upload-artifact@v2
236236
with:
237237
name: ${{ env.SKETCHES_REPORTS_PATH }}
238238
path: ${{ env.SKETCHES_REPORTS_PATH }}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Comment size deltas reports to PRs
11-
uses: arduino/report-size-deltas@main
11+
uses: arduino/report-size-deltas@v1
1212
with:
1313
# The name of the workflow artifact created by the "Compile Examples" workflow
1414
sketches-reports-source: sketches-reports

0 commit comments

Comments
 (0)