summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2024-02-18 02:46:41 -0700
committerDan Allen <dan.j.allen@gmail.com>2024-02-18 02:46:41 -0700
commit48e9c495dbb3fd467bd9f7a5e1f7f520c629c546 (patch)
treea192d42241bd1c04b1589a1556fa1a36b6fbef98 /.github/workflows
parent9ec3d1d4c4612e5484b469934abdc4b57429d6bd (diff)
only upgrade Java for JRuby build on Windows
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index eb3af163..6389c788 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -87,7 +87,7 @@ jobs:
echo 'BUNDLE_WITHOUT=docs' >> $GITHUB_ENV
echo 'COVERAGE=true' >> $GITHUB_ENV
- name: Upgrade Java (JRuby for Windows)
- if: matrix.os == 'windows-latest'
+ if: matrix.os == 'windows-latest' && startsWith(matrix.ruby, 'jruby-')
uses: actions/setup-java@v3
with:
distribution: temurin