Skip to content

Commit ca7925f

Browse files
committed
Use ruby/rubygems with Ruby 4.0+
1 parent cb929e7 commit ca7925f

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ruby-core.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,14 @@ jobs:
4848
working-directory: ruby/ruby
4949
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5050
with:
51-
path: rubygems/rubygems # We need to backport repository url to sync_default_gems.rb of `ruby_3_4` branch.
51+
path: rubygems/rubygems
5252
persist-credentials: false
53+
if: matrix.branch == 'ruby_3_4'
54+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
55+
with:
56+
path: ruby/rubygems
57+
persist-credentials: false
58+
if: matrix.branch != 'ruby_3_4'
5359
- name: Sync tools
5460
run: |
5561
ruby tool/sync_default_gems.rb rubygems

0 commit comments

Comments
 (0)