From a7fd639423dba631900d1d4f395d805cf0d97d5e Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Wed, 24 Nov 2021 17:15:06 +0100 Subject: [rubygems/rubygems] newgem tmpl: ruby as "2.7" in GH Actions matrix https://github.com/rubygems/rubygems/commit/f5bead5634 --- lib/bundler/templates/newgem/github/workflows/main.yml.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler/templates/newgem/github/workflows/main.yml.tt b/lib/bundler/templates/newgem/github/workflows/main.yml.tt index 774cb263bf..2d77410151 100644 --- a/lib/bundler/templates/newgem/github/workflows/main.yml.tt +++ b/lib/bundler/templates/newgem/github/workflows/main.yml.tt @@ -14,7 +14,7 @@ jobs: strategy: matrix: ruby: - - '<%= RUBY_VERSION %>' + - '<%= RUBY_VERSION.split(".").take(2).join(".") %>' steps: - uses: actions/checkout@v2 -- cgit v1.2.3