Skip to content

Update Submodules

Update Submodules #9

name: Update Submodules
on: workflow_dispatch
jobs:
Update-Submodules:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
fetch-depth: 0
- name: Pull down submodules
run: |
git checkout -b preview-update-submodules
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git submodule update --remote --merge
git add .
git commit -m "Update Submodules"
git push -f --set-upstream origin HEAD:update-submodules-reserved