publish-nuget
publish-nuget copied to clipboard
[BUG] Repos are not cloned with submodules
Describe the bug When repos are cloned to be built they are not cloned with submodules which results in a build failure for some projects.
Failed Action Log URL (Required) https://github.com/OpenCAGE/CathodeLib/runs/1439021389
To Reproduce Steps to reproduce the behavior:
- Run the action on a repo with a submodule
Expected Behavior Build without errors.
I believe you have to specify submodules when running actions/checkout:
steps:
- uses: actions/checkout@v2
with:
submodules: true
From documentation:
Whether to checkout submodules:
trueto checkout submodules orrecursiveto recursively checkout submodules.