Skip to content

Commit

Permalink
Workaround for 'Permission denied - NUL' errors with JRuby on Windows.
Browse files Browse the repository at this point in the history
ruby/setup-ruby#339
https://bugs.openjdk.org/browse/JDK-8285445

Can be removed once the July 2022 JDK release is available.
  • Loading branch information
philr committed Jul 17, 2022
1 parent 00b1dd5 commit 5d53b59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
env:
JAVA_OPTS: -Djdk.io.File.enableADS=true
steps:
- uses: actions/checkout@v2
- if: (startsWith(matrix.ruby, '1.') && startsWith(matrix.os, 'windows')) || (startsWith(matrix.ruby, '2.0') && startsWith(matrix.os, 'windows') && matrix.architecture == 'x86') || startsWith(matrix.ruby, 'jruby-1.7') || startsWith(matrix.ruby, 'jruby-9.0')
Expand Down

0 comments on commit 5d53b59

Please sign in to comment.