summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2023-05-26 03:29:43 -0600
committerDan Allen <dan.j.allen@gmail.com>2023-05-26 03:30:03 -0600
commit377c7ba631433a33e9fc17f27ee3f76cf5c2a162 (patch)
treeb371833e0e6d0bebb2afd6632013bfb31d3acd1a
parent34733b6f680b6021148ae7d85c20f88c81317558 (diff)
don't run gem install in CI workflow for JRuby 9.2 on Windows
-rw-r--r--.github/workflows/ci.yml7
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