github: checkout submodule
This commit is contained in:
parent
9412a29536
commit
eaf2136971
1 changed files with 11 additions and 5 deletions
16
.github/workflows/cron.yml
vendored
16
.github/workflows/cron.yml
vendored
|
@ -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}}
|
||||||
|
|
Loading…
Reference in a new issue