-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GHA backend: support --submodules #503
Comments
Alas, |
I'll be principled and say that TL;DR, the patch should come with a link to official docs why it's made they way it is. |
The README for
So it's possible that the limitation really lies in GitHub's REST API, not |
In fact, that's almost assuredly what's happening. The code in In summary, I don't see any way to make this work without upgrading the |
Sorry, I'm not happy with additional complexity. Use |
OK, I'd be willing to use a newer Ubuntu version. However, this poses a design question: what happens if a user tries to combine Relatedly, https://launchpad.net/~hvr/+archive/ubuntu/ghcjs only supports Ubuntu 16.04 (Xenial) and 18.04 (Bionic), so it won't work with 20.04 (Focal). What should happen if a user tries enabling GHCJS on Focal? |
I implemented the "throw an error" design in #504. |
As nice as
source-repository-package
s are, there are some situations where supportinggit
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 addingsubmodules: true
to thecheckout@v2
action, but when I tried this, I got this error:Darn. It looks like we might have to resort to a manual
git submodule update --init
to do this.The text was updated successfully, but these errors were encountered: