Skip to content

Update CI workflow to correctly install ArduinoCore-API in arduino:mbed core #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,12 @@ jobs:
# The arduino/actions/libraries/compile-examples action will install the platform from this path
path: ${{ env.ARDUINOCORE_MBED_STAGING_PATH }}

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

- name: Checkout ArduinoCore-API
# This step only needed when the Arduino mbed-Enabled Boards platform sourced from the repository is being used
if: matrix.board.platform-name == 'arduino:mbed'
uses: actions/checkout@v2
with:
repository: arduino/ArduinoCore-API
# As specified at https://github.com/arduino/ArduinoCore-mbed/blob/master/README.md#installation
ref: namespace_arduino
path: ${{ env.ARDUINOCORE_API_STAGING_PATH }}

- name: Install ArduinoCore-API
Expand Down