init submodule before fetch

This commit is contained in:
oliverpool 2022-03-23 18:11:34 +01:00
parent dc500df9b3
commit 78ec308f48

View file

@ -26,6 +26,7 @@ jobs:
- name: Fetch latest kernel - name: Fetch latest kernel
if: steps.check.outputs.sha != '' if: steps.check.outputs.sha != ''
run: | run: |
git submodule update --init --depth=1 linux-sources
echo "sha ${{steps.check.outputs.sha}}" echo "sha ${{steps.check.outputs.sha}}"
cd linux-sources cd linux-sources
echo "fetch" echo "fetch"