-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Description
As nice as source-repository-package
s are, there are some situations where supporting git
submodules would also be nice. haskell-ci
has a --submodules
flag for this purpose, but at the moment the GitHub Actions backend does not support it. At first, I thought supporting this flag would be as simple as adding submodules: true
to the checkout@v2
action, but when I tried this, I got this error:
The repository will be downloaded using the GitHub REST API
To create a local Git repository instead, add Git 2.18 or higher to the PATH
Error: Input 'submodules' not supported when falling back to download using the GitHub REST API. To create a local Git repository instead, add Git 2.18 or higher to the PATH.
Darn. It looks like we might have to resort to a manual git submodule update --init
to do this.
Metadata
Metadata
Assignees
Labels
No labels