summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2023-05-17 17:41:14 -0600
committerDan Allen <dan.j.allen@gmail.com>2023-05-17 17:41:14 -0600
commitb07ac2f66e97c7793d755ac7569183f3a3ec16df (patch)
tree527f89376759f538002f09294cf7ee0ad76d81ce
parentdd62bf8bd5f42c9bf16ba60fb40fe98ab71209c0 (diff)
revert "remove workaround for JRuby on Windows in CI"
This reverts commit dd62bf8bd5f42c9bf16ba60fb40fe98ab71209c0
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8ed15535..641af013 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -66,6 +66,8 @@ jobs:
env:
BUNDLE_WITHOUT: coverage:docs
SOURCE_DATE_EPOCH: '1521504000'
+ # work around `Permission denied - NUL' error when installing/using the bundler gem on JRuby for Windows
+ JRUBY_OPTS: '-J-Djdk.io.File.enableADS=true'
steps:
- name: Checkout
uses: actions/checkout@v3
@@ -93,7 +95,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' && matrix.ruby == 'jruby-9.4.2.0'
uses: actions/setup-java@v3
with:
distribution: temurin