Skip to content

Commit df16ccb

Browse files
authored
Use check-submodules action (#272)
1 parent d357610 commit df16ccb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,16 @@ jobs:
118118
python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz', 'builder')"
119119
chmod a+x builder
120120
./builder build -p ${{ env.PACKAGE_NAME }} --spec=downstream
121+
122+
check-submodules:
123+
runs-on: ubuntu-latest
124+
steps:
125+
- name: Checkout Source
126+
uses: actions/checkout@v2
127+
with:
128+
submodules: true
129+
fetch-depth: 0
130+
- name: Check Submodules
131+
# note: using "@main" because "@${{env.BUILDER_VERSION}}" doesn't work
132+
# https://github.com/actions/runner/issues/480
133+
uses: awslabs/aws-crt-builder/.github/actions/check-submodules@main

0 commit comments

Comments
 (0)