[前][次][番号順一覧][スレッド一覧]

ruby-changes:69993

From: Olle <ko1@a...>
Date: Wed, 1 Dec 2021 07:15:34 +0900 (JST)
Subject: [ruby-changes:69993] a7fd639423 (master): [rubygems/rubygems] newgem tmpl: ruby as "2.7" in GH Actions matrix

https://git.ruby-lang.org/ruby.git/commit/?id=a7fd639423

From a7fd639423dba631900d1d4f395d805cf0d97d5e Mon Sep 17 00:00:00 2001
From: Olle Jonsson <olle.jonsson@g...>
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 774cb263bf5..2d774101514 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: https://github.com/ruby/ruby/blob/trunk/lib/bundler/templates/newgem/github/workflows/main.yml.tt#L14
     strategy:
       matrix:
         ruby:
-          - '<%= RUBY_VERSION %>'
+          - '<%= RUBY_VERSION.split(".").take(2).join(".") %>'
 
     steps:
     - uses: actions/checkout@v2
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]