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

Specify Ruby version for publish workflow #330

Merged
merged 3 commits into from
Jun 7, 2023
Merged

Conversation

lfdebrux
Copy link
Member

@lfdebrux lfdebrux commented May 22, 2023

This PR fixes the publish workflow.

The ruby/setup-ruby action needs a version of Ruby specified to work. Previously it was reading the .ruby-version file, however we removed that in commit 2aa58c. We could restore that file, but because ruby-install doesn't support loose version specifiers, we'd have to keep it maintained. Instead we just tell the action to install the latest version of Ruby 3.

@lfdebrux lfdebrux marked this pull request as draft May 22, 2023 09:11
GitHub Actions is warning about deprecation of Node 12 actions, bump
actions/checkout to fix this.
GitHub Actions has deprecated the use of the `set-output` command [[1]],
we should use environment files instead.

[1]: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
The ruby/setup-ruby action needs a version of Ruby specified to work.
Previously it was reading the `.ruby-version` file, however we removed
that in commit 2aa58cc. We could restore that file, but because
`ruby-install` doesn't support loose version specifiers, we'd have to
keep it maintained. Instead we just tell the action to install the
latest version of Ruby 3.
@lfdebrux lfdebrux marked this pull request as ready for review June 6, 2023 11:45
@lfdebrux lfdebrux changed the title Add ruby-version to publish workflow Specify Ruby version for publish workflow Jun 6, 2023
@lfdebrux lfdebrux merged commit 4ae3ea6 into main Jun 7, 2023
@lfdebrux lfdebrux deleted the ldeb-fix-publish-workflow branch June 7, 2023 08:44
@lfdebrux lfdebrux linked an issue Jun 30, 2023 that may be closed by this pull request
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.

Publishing of ruby gem broken
2 participants