Skip to content

Commit

Permalink
CI: added a workaround for adafruit/Adafruit_nRF52_Arduino#653
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Aug 22, 2021
1 parent 2c3ae1c commit 669bad2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -243,6 +243,9 @@ jobs:
- name: Install adafruit-nrfutil
if: ${{ matrix.platform == 'nordicnrf52' }}
run: pip install adafruit-nrfutil
- name: Include Adafruit_TinyUSB.h # https://github.com/adafruit/Adafruit_nRF52_Arduino/issues/653
if: ${{ matrix.platform == 'nordicnrf52' }}
run: find examples/ -name '*.ino' -exec sed -i 's/\(#include <ArduinoJson.h>\)/\1\n#include <Adafruit_TinyUSB.h>/' {} +
- name: Set up cache for platformio
uses: actions/cache@v2
with:
Expand Down

0 comments on commit 669bad2

Please sign in to comment.