Skip to content

Commit b1aa83d

Browse files
committed
Use sketch compilation CI actions from their new dedicated repositories
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 6ae2ad2 commit b1aa83d

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
@@ -28,6 +28,7 @@ jobs:
2828
UNIVERSAL_SKETCH_PATHS: '"examples/ArduinoIoTCloud-Advanced" "examples/ArduinoIoTCloud-Basic" "examples/utility/ArduinoIoTCloud_Travis_CI"'
2929
ARDUINOCORE_MBED_STAGING_PATH: extras/ArduinoCore-mbed
3030
ARDUINOCORE_API_STAGING_PATH: extras/ArduinoCore-API
31+
SKETCHES_REPORTS_PATH: sketches-reports
3132

3233
strategy:
3334
fail-fast: false
@@ -159,7 +160,7 @@ jobs:
159160
mv "${{ env.ARDUINOCORE_API_STAGING_PATH }}/api" "${{ env.ARDUINOCORE_MBED_STAGING_PATH }}/cores/arduino"
160161
161162
- name: Compile examples
162-
uses: arduino/actions/libraries/compile-examples@master
163+
uses: arduino/compile-sketches@main
163164
with:
164165
platforms: ${{ matrix.platforms }}
165166
fqbn: ${{ matrix.board.fqbn }}
@@ -173,7 +174,7 @@ jobs:
173174
- name: Write data to size trends report spreadsheet
174175
# Update report on every push to the master branch
175176
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
176-
uses: arduino/actions/libraries/report-size-trends@master
177+
uses: arduino/report-size-trends@main
177178
with:
178179
google-key-file: ${{ secrets.GOOGLE_KEY_FILE }}
179180
spreadsheet-id: 1I6NZkpZpf8KugBkE92adB1Z3_b7ZepOpCdYTOigJpN4
@@ -182,5 +183,5 @@ jobs:
182183
if: github.event_name == 'pull_request'
183184
uses: actions/upload-artifact@v1
184185
with:
185-
name: 'size-deltas-reports'
186-
path: 'size-deltas-reports'
186+
name: ${{ env.SKETCHES_REPORTS_PATH }}
187+
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,4 +8,4 @@ jobs:
88

99
steps:
1010
- name: Comment size deltas reports to PRs
11-
uses: arduino/actions/libraries/report-size-deltas@master
11+
uses: arduino/report-size-deltas@main

0 commit comments

Comments
 (0)