mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 19:40:31 +03:00
Adding recursive sub-modules checkout
This commit is contained in:
parent
29550833e7
commit
afccfef3c2
1 changed files with 6 additions and 5 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -19,7 +19,10 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
targets: ${{ steps.get-targets.outputs.targets }}
|
targets: ${{ steps.get-targets.outputs.targets }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
- name: Cache build toolchain
|
- name: Cache build toolchain
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
@ -32,10 +35,6 @@ jobs:
|
||||||
if: steps.cache-toolchain.outputs.cache-hit != 'true'
|
if: steps.cache-toolchain.outputs.cache-hit != 'true'
|
||||||
run: make arm_sdk_install
|
run: make arm_sdk_install
|
||||||
|
|
||||||
- name: Hydrate the PICO sdk
|
|
||||||
if: steps.cache-toolchain.outputs.cache-hit != 'true'
|
|
||||||
run: make pico_sdk
|
|
||||||
|
|
||||||
- name: Build pico tool and install
|
- name: Build pico tool and install
|
||||||
if: steps.cache-toolchain.outputs.cache-hit != 'true'
|
if: steps.cache-toolchain.outputs.cache-hit != 'true'
|
||||||
run: make picotool_install
|
run: make picotool_install
|
||||||
|
@ -58,6 +57,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: recursive
|
||||||
|
|
||||||
- name: Fetch toolchain from cache
|
- name: Fetch toolchain from cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue