summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlle Jonsson <olle.jonsson@gmail.com>2021-11-24 17:15:06 +0100
committergit <svn-admin@ruby-lang.org>2021-12-01 07:15:17 +0900
commita7fd639423dba631900d1d4f395d805cf0d97d5e (patch)
treed6c129b162e5b40a496ef82c0e06d55c58b336aa
parent42efb8c1859c89490cad9bf9312dc3e743f730ee (diff)
[rubygems/rubygems] newgem tmpl: ruby as "2.7" in GH Actions matrix
https://github.com/rubygems/rubygems/commit/f5bead5634
-rw-r--r--lib/bundler/templates/newgem/github/workflows/main.yml.tt2
1 files changed, 1 insertions, 1 deletions
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