Print a warning if Gemfile's dependencies are not satisfied #61
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I observed is that lots of people install Jekyll 4.x locally with their own choices of dependency, test with that locally and check in the Gemfile. Then on GitHub it builds the site using Jekyll 3.x with a different set of dependency. The end results of this is very YMMV. It works sometimes, but in most cases won't. - E.g. #46
To some degree it is a user problem that they are using "jekyll" gem locally and the action runs "github-pages" gem, but this action is named "jekyll-build-pages" so that I think most of the users will get confused by what it actually does.
This PR prints a warning if we detect a Gemfile and found that some dependencies in the Gemfile cannot be met via "github-pages" gem preinstalled in the container, giving user some hints about what might be causing their build failure.