Skip to content

Commit 112297d

Browse files
committed
Test running make html with custom RDOC env var
1 parent 2a8ec9f commit 112297d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ruby-core.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,13 @@ jobs:
5050
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.1.0
5151
with:
5252
path: ruby/rdoc
53-
- name: Install RDoc locally
53+
- name: Build RDoc locally
5454
run: |
5555
bundle install
5656
bundle exec rake build
57-
gem install pkg/rdoc-*.gem --install-dir ../ruby/.bundle
5857
working-directory: ruby/rdoc
5958
- name: Generate Documentation with RDoc
60-
run: make html V=1
59+
run: make html V=1 RDOC="$(XRUBY) -I${../rdoc/lib} \"$(tooldir)/rdoc-srcdir\""
6160
working-directory: ruby/ruby
6261
# We need to clear the generated documentation to generate them again
6362
# with the Prism parser.

0 commit comments

Comments
 (0)