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

Detect Ruby versions for the matrix strategy dynamically #13

Merged
merged 4 commits into from
Jun 2, 2022

Conversation

hsbt
Copy link
Member

@hsbt hsbt commented May 31, 2022

@hsbt hsbt force-pushed the dynamic-versions branch 3 times, most recently from cfcba0b to 862854e Compare May 31, 2022 12:21
@hsbt hsbt force-pushed the dynamic-versions branch from 862854e to d9e5730 Compare May 31, 2022 12:23
name: build (${{ matrix.ruby }} / ${{ matrix.os }})
strategy:
matrix:
ruby: [ '3.0', 2.7, 2.6, 2.5, 2.4, head ]
ruby: ${{fromJson(needs.ruby-versions.outputs.versions)}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it might be better to add spaces in ${{ .. }}, such as ${{ fromJson(needs.ruby-versions.outputs.versions) }}.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks, applied.

@hsbt hsbt changed the title Use https://cache.ruby-lang.org/pub/misc/ci_versions.json Detect Ruby versions for the matrix strategy dynamically Jun 1, 2022
@hsbt hsbt merged commit f0c90c4 into master Jun 2, 2022
@hsbt hsbt deleted the dynamic-versions branch June 2, 2022 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants