From 3e6361d0b9f184de35aab523c5007c8ce725e856 Mon Sep 17 00:00:00 2001 From: Eliot Sykes Date: Sat, 24 Feb 2024 10:02:48 +0000 Subject: [PATCH] Use checkout submodules: true --- .github/workflows/update_submodules.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update_submodules.yml b/.github/workflows/update_submodules.yml index c5f53ba0f..7170aa450 100644 --- a/.github/workflows/update_submodules.yml +++ b/.github/workflows/update_submodules.yml @@ -26,12 +26,14 @@ jobs: - name: Checkout project uses: actions/checkout@v4 + with: + submodules: true - name: Create branch run: git checkout -b submodules-update-$TODAY - name: Run submodule updates - run: git submodule update --init --remote --merge --jobs 4 + run: git submodule update --remote --merge --jobs 4 - name: Commit results run: git commit -m "Update submodules $TODAY" . @@ -41,3 +43,17 @@ jobs: - name: Open pull request run: echo 'TODO' + +#on: push +#jobs: +# build: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# - run: | +# date > generated.txt +# git config user.name github-actions +# git config user.email github-actions@github.com +# git add . +# git commit -m "generated" +# git push