Skip to content

Conversation

@gjtorikian
Copy link
Collaborator

This PR closes #79.

Right now the cross_compile.yml has one purpose: to build the gem and store the resulting artifact. This happens on every push. The entire point of it is to provide a place for script/release to fetch the gem and publish it to RubyGems.

To me, there are two problems:

  1. A human has to run script/release manually, a cumbersome process, because the script depends on finding the latest run-id to fetch the right artifacts
  2. The script requires a RubyGems token

I want to move everything over to OIDC trusted publishing which uses short-lived tokens.

I have a set of workflows in my personal repositories that I use to streamline publishing. So, I'm migrating the release workflow here to using that. Additionally, the build.yml workflow already attempts to compile the gem, so we're not losing any validation of the build by removing cross_compile.yml.

Lastly, I noticed that the gem was available for Ruby 3.1, but wasn't actually compiling for it. Since 3.1 has been EOL for a while, I updated the gemspec.

@gjtorikian gjtorikian merged commit 4bd9ceb into main Dec 19, 2025
10 checks passed
gjtorikian added a commit that referenced this pull request Dec 19, 2025
Drop Ruby 3.1 support; automate release process
@gjtorikian gjtorikian mentioned this pull request Dec 19, 2025
@gjtorikian gjtorikian deleted the automate-release branch December 19, 2025 17:50
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

Successfully merging this pull request may close these issues.

Make GitHub CI do the releases

2 participants