From 669bad27d45bbd6636551a08dd1b53aa7b26fbc9 Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Sun, 22 Aug 2021 17:54:41 +0200 Subject: [PATCH] CI: added a workaround for adafruit/Adafruit_nRF52_Arduino#653 --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f708084e..6829bf61 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \)/\1\n#include /' {} + - name: Set up cache for platformio uses: actions/cache@v2 with: