-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Add a workflow to build gems consistently #8830
Conversation
Since this workflow will not be triggered for the current context, you may view the run on my fork at https://github.com/ashmaroli/jekyll/actions/runs/1291299525 for analysis. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think about evolving this action so that it can be used to release the gem? We could use the push of the tag to trigger this workflow instead of the commit message, and then set up the actions secrets to push the gem.
We might want to create a jekyllbot user on rubygems so that the authentication is not tied to our accounts as well.
I really like the idea of getting the process of making a release off our local machines. Thanks for getting this started.
Our release process for backports is not straight-forward and involves switching branches multiple commits. Automating that is definitely beneficial but I didn't do that in the initial phase to have greater control n err on the safer side.
👍 |
I setup a jekyllbot RubyGems account. I'm all for automating this, especially if it were as simple as adding a Git tag. I have added a secret called |
We could use https://github.com/jekyll/jekyll-test-gem-plugin for this purpose. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can run this once we give jekyllbot the appropriate permissions for the gem.
@jekyllbot: merge +dev |
Ashwin Maroli: Add a workflow to build gems consistently (#8830) Merge pull request 8830
Add a workflow to build gems consistently This backports db3f034 to 4.2-stable
Summary
Use GH Actions to build gem.
(Push to Rubygems.org manually)
With this Ruby version and platform remains consistent when triggered by different maintainers.
Context
As part of responding to #8826 (which will be closed after
v4.2.2
is shipped and a release post is published).This will be back ported to
4.2-stable
and3.9-stable
.