Skip to content

Commit 28e6f0c

Browse files
committed
Update ruby-core workflow to just generate documentation
Since RDoc is now a bundled gem, we don't need to run test with Ruby core with it commit by commit. But it'd still be beneficial to generate documentation with the current RDoc commit and the Ruby master branch. So this PR updates the Ruby core workflow to just do that.
1 parent ce79711 commit 28e6f0c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/ruby-core.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ permissions: # added using https://github.com/step-security/secure-workflows
1515

1616
jobs:
1717
ruby_core:
18-
name: RDoc under a ruby-core setup
18+
name: Generate ruby/ruby documentation with the current RDoc commit
1919
runs-on: ubuntu-20.04
2020
strategy:
2121
fail-fast: false
@@ -50,13 +50,10 @@ jobs:
5050
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.1.0
5151
with:
5252
path: ruby/rdoc
53-
- name: Sync tools
53+
- name: Install RDoc locally
5454
run: |
55-
ruby tool/sync_default_gems.rb rdoc
56-
working-directory: ruby/ruby
57-
- name: Test RDoc
58-
run: make -j2 -s test-all TESTS="rdoc --no-retry"
59-
working-directory: ruby/ruby
55+
gem build rdoc.gemspec
56+
gem install *.gem
6057
- name: Generate Documentation with RDoc
6158
run: make html
6259
working-directory: ruby/ruby

0 commit comments

Comments
 (0)