Skip to content

Commit

Permalink
CI: Init only necessary micropython submodules.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Sep 2, 2024
1 parent 126538f commit 37959b4
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/micropython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
MICROPYTHON_VERSION: v1.23.0
WORKFLOW_VERSION: 0
WORKFLOW_VERSION: 1

jobs:
deps:
Expand Down Expand Up @@ -38,13 +38,14 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
shell: bash
working-directory: micropython
run: git submodule update --init

- name: Fetch Pico SDK submodules
if: steps.cache.outputs.cache-hit != 'true'
shell: bash
working-directory: micropython/lib/pico-sdk
run: git submodule update --init
run: |
git submodule update --init lib/pico-sdk
git submodule update --init lib/cyw43-driver
git submodule update --init lib/lwip
git submodule update --init lib/mbedtls
git submodule update --init lib/micropython-lib
git submodule update --init lib/tinyusb
git submodule update --init lib/btstack
- name: Build mpy-cross
if: steps.cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 37959b4

Please sign in to comment.