GitHub Actions checkout submodules


Approach 1

Use GitHub Action Checkout with submodules: recursive:

steps:
  - uses: actions/checkout@v2
    with:
      submodules: recursive

Approach 2

Use checkout action and run git submodule update --init --recursive:

steps:
  - uses: actions/checkout@v2
  - run: git submodule update --init --recursive


Please support this site and join our Discord!