File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -165,12 +165,15 @@ jobs:
165165 shell : bash
166166 - run : curl --fail -L -O 'https://repo1.maven.org/maven2/org/jruby/jruby-dist/${{ matrix.jruby-version }}/jruby-dist-${{ matrix.jruby-version }}-bin.tar.gz'
167167 shell : bash
168- - name : Build JRuby
168+ # NOTE: Keep the logic from here in sync with jruby-dev-builder's build job
169+ # Extracting must be done in the native shell: https://github.com/MSP-Greg/ruby-setup-ruby/issues/1
170+ # We need to use to use the system tar, the Git tar seems basically broken
171+ - run : C:\windows\system32\tar.exe xf jruby-dist-${{ matrix.jruby-version }}-bin.tar.gz
172+ - name : Move to prefix
169173 shell : bash
170174 run : |
171175 mkdir $(dirname $PREFIX)
172- tar tf jruby-dist-${{ matrix.jruby-version }}-bin.tar.gz
173- tar xf jruby-dist-${{ matrix.jruby-version }}-bin.tar.gz -C $(dirname $PREFIX)
176+ mv jruby-${{ matrix.jruby-version }} $(dirname $PREFIX)
174177 ls -l $PREFIX/bin
175178 - name : Create archive
176179 run : tar czf ${{ steps.ruby.outputs.archive }} -C $(dirname $PREFIX) $(basename $PREFIX)
You can’t perform that action at this time.
0 commit comments