Skip to content

Commit

Permalink
CI: Attempt to set ENV not for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle authored Jul 16, 2024
1 parent d1b24ec commit 7b06cf4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ jobs:
apt-get: "haveged libyaml-dev"
brew: libyaml
vcpkg: libyaml
- name: Set JRuby ENV vars
run: |
echo "export JRUBY_OPTS=\"-J-Xmx1g -J--add-opens java.base/sun.nio.ch=ALL-UNNAMED -J--add-opens java.base/java.io=ALL-UNNAMED\"" >> $GITHUB_ENV
if: ${{ matrix.os != "windows-latest" }
- name: Install dependencies
run: bundle install --jobs 1
env:
JAVA_OPTS: "--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED"
JRUBY_OPTS: "-J-Xmx1g"
- name: Run test
run: rake
- name: Install gem
Expand Down

0 comments on commit 7b06cf4

Please sign in to comment.