Skip to content

Commit 78e23aa

Browse files
committed
Update Portenta platform in Compile Examples CI workflow
The beta phase `arduino-beta:mbed` boards platform of the Portenta H7 has been deprecated, which will cause platform installation during the compilation check CI to fail if the old name is used.
1 parent 55ef4ec commit 78e23aa

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/compile-examples.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
platform-name: arduino:samd
3838
- fqbn: "arduino:samd:mkrwan1310"
3939
platform-name: arduino:samd
40-
- fqbn: "arduino-beta:mbed:envie_m7"
41-
platform-name: arduino-beta:mbed
42-
- fqbn: "arduino-beta:mbed:envie_m4"
43-
platform-name: arduino-beta:mbed
40+
- fqbn: "arduino:mbed:envie_m7"
41+
platform-name: arduino:mbed
42+
- fqbn: "arduino:mbed:envie_m4"
43+
platform-name: arduino:mbed
4444
- fqbn: "esp8266:esp8266:huzzah"
4545
platform-name: esp8266:esp8266
4646

@@ -52,13 +52,13 @@ jobs:
5252
# Install Arduino SAMD Boards via Boards Manager
5353
- name: arduino:samd
5454
- board:
55-
platform-name: arduino-beta:mbed
55+
platform-name: arduino:mbed
5656
platforms: |
5757
# Install Arduino mbed-Enabled Boards via Boards Manager for the toolchain
58-
- name: arduino-beta:mbed
58+
- name: arduino:mbed
5959
# Overwrite the Arduino mbed-Enabled Boards release version with version from the tip of the default branch (located in local path because of the need to first install ArduinoCore-API)
6060
- source-path: extras/ArduinoCore-mbed
61-
name: arduino-beta:mbed
61+
name: arduino:mbed
6262
- board:
6363
platform-name: esp8266:esp8266
6464
platforms: |
@@ -74,7 +74,7 @@ jobs:
7474
# It's necessary to checkout the platform before installing it so that the ArduinoCore-API dependency can be added
7575
- name: Checkout ArduinoCore-mbed
7676
# this step only needed when the Arduino mbed-Enabled Boards platform sourced from the repository is being used
77-
if: matrix.board.platform-name == 'arduino-beta:mbed'
77+
if: matrix.board.platform-name == 'arduino:mbed'
7878
uses: actions/checkout@v2
7979
with:
8080
repository: arduino/ArduinoCore-mbed
@@ -83,12 +83,12 @@ jobs:
8383

8484
- name: Remove ArduinoCore-API symlink from Arduino mbed-Enabled Boards platform
8585
# This step only needed when the Arduino mbed-Enabled Boards platform sourced from the repository is being used
86-
if: matrix.board.platform-name == 'arduino-beta:mbed'
86+
if: matrix.board.platform-name == 'arduino:mbed'
8787
run: rm "${{ env.ARDUINOCORE_MBED_STAGING_PATH }}/cores/arduino/api"
8888

8989
- name: Checkout ArduinoCore-API
9090
# This step only needed when the Arduino mbed-Enabled Boards platform sourced from the repository is being used
91-
if: matrix.board.platform-name == 'arduino-beta:mbed'
91+
if: matrix.board.platform-name == 'arduino:mbed'
9292
uses: actions/checkout@v2
9393
with:
9494
repository: arduino/ArduinoCore-API
@@ -98,7 +98,7 @@ jobs:
9898

9999
- name: Install ArduinoCore-API
100100
# This step only needed when the Arduino mbed-Enabled Boards platform sourced from the repository is being used
101-
if: matrix.board.platform-name == 'arduino-beta:mbed'
101+
if: matrix.board.platform-name == 'arduino:mbed'
102102
run: |
103103
mv "${{ env.ARDUINOCORE_API_STAGING_PATH }}/api" "${{ env.ARDUINOCORE_MBED_STAGING_PATH }}/cores/arduino"
104104

0 commit comments

Comments
 (0)