CI: Clean ports/rp2/modules before each build.

pull/764/head
Phil Howard 2023-05-03 17:21:18 +01:00
rodzic 45a2e0f5b1
commit 8648597134
1 zmienionych plików z 7 dodań i 0 usunięć

Wyświetl plik

@ -128,6 +128,13 @@ jobs:
run: |
echo "MICROPY_GIT_TAG=$MICROPYTHON_VERSION, ${{matrix.name}} ${{github.event.release.tag_name || github.sha}}" >> $GITHUB_ENV
echo "MICROPY_GIT_HASH=$MICROPYTHON_VERSION-${{github.event.release.tag_name || github.sha}}" >> $GITHUB_ENV
- name: "HACK: Clean ports/rp2/modules" # We should move to using manifest.py to include our custom modules
shell: bash
working-directory: micropython/ports/rp2
run: |
rm -rf modules
git checkout modules
- name: "HACK: Revert Pico SDK Patch" # Avoid an already-patched MicroPython tree breaking our build
shell: bash