github: checkout submodule

This commit is contained in:
oliverpool 2022-03-23 17:38:13 +01:00
parent 9412a29536
commit eaf2136971

View file

@ -25,9 +25,15 @@ jobs:
- name: Fetch latest kernel - name: Fetch latest kernel
if: steps.check.outputs.sha != '' if: steps.check.outputs.sha != ''
run: echo "checkout ${{steps.check.outputs.sha}}" run: |
echo "checkout ${{steps.check.outputs.sha}}"
cd linux-sources
git fetch --depth=1 origin ${{steps.check.outputs.sha}}
cd ..
git submodule update
git diff --no-ext-diff
- name: Commit the new kernel # - name: Commit the new kernel
uses: stefanzweifel/git-auto-commit-action@v4 # uses: stefanzweifel/git-auto-commit-action@v4
with: # with:
commit_message: kernel ${{steps.check.outputs.sha}} # commit_message: kernel ${{steps.check.outputs.sha}}