Skip to content
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

Error with default "jekyll.yml" GitHub Actions starter workflow #96

Open
evanwill opened this issue Jan 6, 2025 · 1 comment
Open

Comments

@evanwill
Copy link
Contributor

evanwill commented Jan 6, 2025

This issue to for people looking for information about build errors they may be getting from GitHub actions as of January 2025+.

The default "jekyll.yml" starter workflow in existing projects is broken!
Due to changes in the ubuntu-latest image, the GitHub Action will end up with errors in existing repositories. Note that we do not maintain the "jekyll.yml" or GitHub Actions so can not directly fix the default starter workflow.

To fix it in your project, edit the file ".github/workflows/jekyll.yml" in your repository.
On line 37, replace:
uses: ruby/setup-ruby@8575951200e472d5f2d95c625da0c7bec8217c42 # v1.161.0
with:
uses: ruby/[email protected]

This should fix the error!

@evanwill
Copy link
Contributor Author

evanwill commented Jan 14, 2025

The default "jekyll.yml" has been fixed as of 2025-01-14, so for NEW collections going forward, setting up GitHub Actions should be working again.
However, EXISTING collections using the default "jekyll.yml" GitHub Action to build may still be impacted! If you have an existing collection getting build errors from GitHub Actions, update as mentioned above ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant