MicroPython: Grab micropython-lib for PicoW urequests.
Fix
@@ -19,9 +19,9 @@ jobs:
uses: actions/cache@v2
with:
path: ${{runner.workspace}}
- key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
+ key: workspace-micropython-${{env.MICROPYTHON_VERSION}}-with-libs
restore-keys: |
- workspace-micropython-${{env.MICROPYTHON_VERSION}}
+ workspace-micropython-${{env.MICROPYTHON_VERSION}}-with-libs
# Check out MicroPython
- name: Checkout MicroPython
@@ -33,6 +33,14 @@ jobs:
submodules: false # MicroPython submodules are hideously broken
path: micropython
+ # Check out MicroPython Libs
+ - name: Checkout MicroPython Libs
+ if: steps.cache.outputs.cache-hit != 'true'
+ uses: actions/checkout@v2
+ with:
+ repository: micropython/micropython-lib
+ path: micropython-lib
+
- name: Fetch base MicroPython submodules
if: steps.cache.outputs.cache-hit != 'true'
shell: bash
@@ -79,9 +87,9 @@ jobs:
uses: actions/cache@v2
with:
path: ${{runner.workspace}}
- key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
+ key: workspace-micropython-${{env.MICROPYTHON_VERSION}}-with-libs
restore-keys: |
- workspace-micropython-${{env.MICROPYTHON_VERSION}}
+ workspace-micropython-${{env.MICROPYTHON_VERSION}}-with-libs
- name: Install Compiler & CCache
if: runner.os == 'Linux'
