From eaf2136971818eee362cf9d5128ac26961d80d43 Mon Sep 17 00:00:00 2001 From: oliverpool Date: Wed, 23 Mar 2022 17:38:13 +0100 Subject: [PATCH] github: checkout submodule --- .github/workflows/cron.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 68f7f68..c211972 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -25,9 +25,15 @@ jobs: - name: Fetch latest kernel 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 - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: kernel ${{steps.check.outputs.sha}} + # - name: Commit the new kernel + # uses: stefanzweifel/git-auto-commit-action@v4 + # with: + # commit_message: kernel ${{steps.check.outputs.sha}}