diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20f48b9c..1ffb0919 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,6 +121,13 @@ jobs: fi - name: Run tests run: bundle exec ruby -w $(bundle exec ruby -e 'print File.join Gem.bindir, %q(rake)') test:all + - name: Install gem and doc + if: "!startsWith(matrix.ruby, 'truffleruby-')" + run: | + ruby -r fileutils -e "FileUtils.rmtree 'pkg'" + bundle exec rake build + bundle exec gem install --local --document rdoc,ri pkg/*.gem + bundle exec gem uninstall -ax asciidoctor build-dependents: name: build:dependents if: success() && github.event_name == 'push' && github.repository == 'asciidoctor/asciidoctor' |
