Skip to content

Commit d5161c8

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 2f101f2 + 3c7d53f commit d5161c8

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

.github/workflows/compile-examples.yml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -46,37 +46,15 @@ jobs:
4646
steps:
4747
- name: Checkout repository
4848
uses: actions/checkout@v2
49-
50-
- name: Setup Python
51-
uses: actions/setup-python@v1
52-
with:
53-
python-version: '3.x'
54-
55-
- name: Install nrfutil
56-
run: pip3 install adafruit-nrfutil
57-
58-
# The source files are in a subfolder of the ArduinoCore-API repository, so it's not possible to clone it directly to the final destination in the core
59-
- name: Checkout ArduinoCore-API
60-
uses: actions/checkout@v2
61-
with:
62-
repository: arduino/ArduinoCore-API
63-
path: ArduinoCore-API
64-
65-
- name: Remove old symlink to api
66-
run: rm -rf "$GITHUB_WORKSPACE/cores/arduino/api"
67-
68-
- name: Install ArduinoCore-API
69-
run: mv "$GITHUB_WORKSPACE/ArduinoCore-API/api" "$GITHUB_WORKSPACE/cores/arduino"
7049

7150
- name: Compile examples
72-
uses: arduino/actions/libraries/compile-examples@master
51+
uses: arduino/compile-sketches@main
7352
with:
7453
fqbn: ${{ matrix.board.fqbn }}
7554
platforms: |
55+
# Use Board Manager to install the latest release of Arduino mbed Boards to get the toolchain
7656
- source-url: "https://electroniccats.github.io/Arduino_Boards_Index/package_electroniccats_index.json"
7757
name: "electroniccats:mbed"
78-
# Use Board Manager to install the latest release of Arduino mbed Boards to get the toolchain
79-
- name: "electroniccats:mbed"
8058
# Overwrite the Board Manager installation with the local platform
8159
- source-path: "./"
8260
name: "electroniccats:mbed"

0 commit comments

Comments
 (0)