summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-14 22:28:19 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-08-15 23:30:40 +0900
commitb76c2ec0052afc303e254c1e748c2c2a585d6ad5 (patch)
treeb3f941583d66751f5e696010becb36a92b0594f3 /tool
parent9acc73d7c583649240906b079c270e6ce1d8c50f (diff)
Use `::` form workflow commands
Diffstat (limited to 'tool')
-rw-r--r--tool/test-bundled-gems.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/tool/test-bundled-gems.rb b/tool/test-bundled-gems.rb
index 07b7e31042..9721d2d908 100644
--- a/tool/test-bundled-gems.rb
+++ b/tool/test-bundled-gems.rb
@@ -23,7 +23,8 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
next if /^\s*(?:#|$)/ =~ line
gem = line.split.first
next if ARGV.any? {|pat| !File.fnmatch?(pat, gem)}
- puts "#{github_actions ? "##[group]" : "\n"}Testing the #{gem} gem"
+ # 93(bright yellow) is copied from .github/workflows/mingw.yml
+ puts "#{github_actions ? "::group::\e\[93m" : "\n"}Testing the #{gem} gem#{github_actions ? "\e\[m" : ""}"
test_command = "#{ruby} -C #{gem_dir}/src/#{gem} #{rake} test"
first_timeout = 600 # 10min
@@ -88,7 +89,7 @@ File.foreach("#{gem_dir}/bundled_gems") do |line|
break
end
- print "##[endgroup]\n" if github_actions
+ print "::endgroup::\n" if github_actions
unless $?.success?
mesg = "Tests failed " +