@@ -235,18 +235,34 @@ jobs:
235235 name : installer verification on Windows (Java ${{ matrix.java-version }})
236236
237237 steps :
238- - name : set up java ${{ matrix.java-version }}
238+ - name : set up java (x64, ${{ matrix.java-version }})
239239 uses : actions/setup-java@v5
240240 with :
241+ architecture : x64
241242 distribution : ' zulu'
242243 java-version : ${{ matrix.java-version }}
243- - name : download cached installer
244+ - name : download cached installer x64
244245 uses : actions/download-artifact@v8
245246 with :
246- name : jruby_windows-x32.exe
247- - name : download cached installer
247+ name : jruby_windows-x64.exe
248+ - name : run installer x64
249+ shell : cmd
250+ run : .\jruby_windows-x64.exe -q -console -dir installed_jruby
251+ - name : run installed JRuby x64
252+ run : installed_jruby\bin\jruby -e "puts 'hello'"
253+
254+ - name : set up java (x86, ${{ matrix.java-version }})
255+ uses : actions/setup-java@v5
256+ with :
257+ architecture : x86
258+ distribution : ' zulu'
259+ java-version : ${{ matrix.java-version }}
260+ - name : download cached installer x86
248261 uses : actions/download-artifact@v8
249262 with :
250- name : jruby_windows-x64.exe
251- - name : run installer
252- run : ./jruby_windows-x64.exe -q
263+ name : jruby_windows-x32.exe
264+ - name : run installer x86
265+ shell : cmd
266+ run : .\jruby_windows-x64.exe -q -console -dir installed_jruby
267+ - name : run installed JRuby x86
268+ run : installed_jruby\bin\jruby -e "puts 'hello'"
0 commit comments