diff options
| -rw-r--r-- | .github/workflows/ci.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ffb0919..eb3af163 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -122,11 +122,12 @@ jobs: - 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-')" + if: | + !startsWith(matrix.ruby, 'truffleruby-') && (matrix.os != 'windows-latest' || !startsWith(matrix.ruby, 'jruby-9.2.')) 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 build asciidoctor.gemspec -o asciidoctor.gem + bundle exec gem install --local --document rdoc,ri asciidoctor.gem bundle exec gem uninstall -ax asciidoctor build-dependents: name: build:dependents |
