Skip to content

Commit aeaf84a

Browse files
committed
Fixed modules initialization script path
1 parent a9d5b20 commit aeaf84a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build-toolchain-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: Build Toolchain Image
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [ refactor/cmake ]
67
paths:
78
- 'ci/Dockerfile'
89
- '.github/workflows/build-toolchain-image.yml'
9-
workflow_dispatch: {}
1010

1111
jobs:
1212
build-and-push:

tools/init-submodules.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
cd "$(git rev-parse --show-toplevel)"
4+
# This script is supposed to be under ${ST-LIB_PATH}/tools/init-submodules.sh
55

6+
cd "${0%/*}/.."
67
git submodule update --init
78
cd STM32CubeH7
89
git submodule update --init Drivers/STM32H7xx_HAL_Driver Drivers/CMSIS/Device/ST/STM32H7xx Drivers/BSP/Components/lan8742

0 commit comments

Comments
 (0)