CI: Revert lib/pico-sdk before build.

Revert lib/pico-sdk back to default before building.

Avoids a patched tree (fetched via the cache) leaking into or breaking subsequent builds.
pull/756/head
Phil Howard 2023-04-24 11:43:10 +01:00
rodzic a19f5943c3
commit 1d003a80c2
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -126,6 +126,12 @@ jobs:
submodules: true
path: pimoroni-pico-${{ github.sha }}
- name: "HACK: Revert Pico SDK Patch" # Avoid an already-patched MicroPython tree breaking our build
shell: bash
working-directory: micropython
run: |
git checkout lib/pico-sdk
- name: "HACK: Pico SDK Patch"
if: matrix.patch == true
shell: bash