Skip to content

Commit

Permalink
revert "remove workaround for JRuby on Windows in CI"
Browse files Browse the repository at this point in the history
This reverts commit dd62bf8
  • Loading branch information
mojavelinux committed May 17, 2023
1 parent dd62bf8 commit b07ac2f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b07ac2f

Please sign in to comment.