Skip to content

Commit 9573e72

Browse files
committed
workflow to pull repo and submodules
1 parent 95c4d02 commit 9573e72

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/vs-testing.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@ jobs:
1414
echo "TMP_DIR=$TMP_DIR" >> $GITHUB_ENV
1515
echo "Using temp directory: $TMP_DIR"
1616
17-
- name: Manually clone repo within tmp dir
18-
run: git clone --depth 1 --branch "${GITHUB_REF_NAME}" https://github.com/${GITHUB_REPOSITORY}.git
17+
- name: Manually clone repo within tmp dir and submodule deps
18+
run: |
19+
git clone --depth 1 --branch "${GITHUB_REF_NAME}" https://github.com/${GITHUB_REPOSITORY}.git
20+
cd sarus-hooks
21+
git submodule update --init --recursive --depth 1
1922
working-directory: ${{ env.TMP_DIR }}
2023

2124
- name: List contents of TMP_DIR

0 commit comments

Comments
 (0)