diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2023-05-26 01:56:30 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2023-05-26 02:58:04 -0600 |
| commit | 34733b6f680b6021148ae7d85c20f88c81317558 (patch) | |
| tree | 7d9bf7e2046facc052589cc5f0a3011cedb7d826 /.github/workflows | |
| parent | 44ffda5022de88efb0c2e003e30667e81233485c (diff) | |
build and install gem and doc at end of CI workflow
Diffstat (limited to '.github/workflows')
| -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' |
