Skip to content

Commit

Permalink
Use checkout submodules: true
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotsykes committed Feb 24, 2024
1 parent 026b447 commit 3e6361d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/update_submodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" .
Expand All @@ -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 [email protected]
# git add .
# git commit -m "generated"
# git push

0 comments on commit 3e6361d

Please sign in to comment.