From 48e9c495dbb3fd467bd9f7a5e1f7f520c629c546 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Sun, 18 Feb 2024 02:46:41 -0700 Subject: only upgrade Java for JRuby build on Windows --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3