File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 61
61
if : startsWith(matrix.os, 'ubuntu') && startsWith(steps.ruby.outputs.ruby, 'ruby-')
62
62
- run : sudo apt-get install -y --no-install-recommends libyaml-dev
63
63
if : startsWith(matrix.os, 'ubuntu') && startsWith(steps.ruby.outputs.ruby, 'truffleruby')
64
+ - run : echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV"
65
+ if : startsWith(steps.ruby.outputs.ruby, 'jruby-')
64
66
65
67
- name : Install system ruby for ruby-2.5.2
66
68
run : sudo apt-get install -y --no-install-recommends ruby
@@ -154,6 +156,9 @@ jobs:
154
156
run : ' ! curl -s -L --head --fail https://github.com/ruby/ruby-builder/releases/download/${{ steps.info.outputs.tag }}/${{ steps.ruby.outputs.archive }}'
155
157
shell : bash
156
158
159
+ - run : echo "JAVA_HOME=${JAVA_HOME_21_X64:-${JAVA_HOME_21_arm64:-}}" >> "$GITHUB_ENV"
160
+ shell : bash
161
+
157
162
- name : Set PREFIX
158
163
run : echo "PREFIX=$HOME/.rubies/${{ steps.ruby.outputs.ruby }}" >> $GITHUB_ENV
159
164
shell : bash
You can’t perform that action at this time.
0 commit comments