Skip to content

Commit 6625117

Browse files
committed
Check jruby is in PATH
1 parent 6664ce8 commit 6625117

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,14 @@ jobs:
111111
cp jruby ruby
112112
# Create ruby.bat, so 'ruby' works in pwsh
113113
echo -en "@ECHO OFF\r\n@\"%~dp0jruby.exe\" %*\r\n" > ruby.bat
114+
ls -l
114115
- name: Create archive
115116
run: tar czf jruby-head-${{ steps.platform.outputs.platform }}.tar.gz jruby-head
116117

117118
# Test
118119
- run: echo "$PWD/jruby-head/bin" >> $GITHUB_PATH
119120
- run: ruby --version
121+
- run: ruby -e 'raise unless RUBY_ENGINE == %{jruby}'
120122
- run: gem --version
121123
- run: rake --version
122124
- run: ruby -ropen-uri -e 'puts URI.send(:open, %{https://rubygems.org/}) { |f| f.read(1024) }'

0 commit comments

Comments
 (0)