Skip to content

Commit d18a4e6

Browse files
committed
Fix CI not checking out submodules
1 parent 3e8618a commit d18a4e6

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717

1818
- name: Build
1919
run: |
20+
git submodule update --init
2021
docker run --rm -v $PWD:/app -w /app ghcr.io/panda-re/embedded-toolchains:latest /app/build.sh
2122
tar -czvf build.tar.gz build
2223
@@ -52,4 +53,4 @@ jobs:
5253
env:
5354
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5455
with:
55-
id: ${{ steps.create_release.outputs.id }}
56+
id: ${{ steps.create_release.outputs.id }}

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ jobs:
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
15+
with:
16+
submodules: true
1517

1618
- name: Build
1719
run: |
1820
docker run --rm -v $PWD:/app -w /app ghcr.io/panda-re/embedded-toolchains:latest /app/build.sh
19-
21+

0 commit comments

Comments
 (0)