Skip to content

Commit 8760793

Browse files
committed
Sync logic with ruby-builder
1 parent c7591d4 commit 8760793

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,14 @@ jobs:
107107
if: "!startsWith(matrix.os, 'windows')"
108108
# NOTE: Keep the logic from here in sync with ruby-builder's buildJRubyWindows job
109109
# Extracting must be done in the native shell: https://github.com/MSP-Greg/ruby-setup-ruby/issues/1
110-
# We need to use to use the system tar, the Git tar seems basically broken
110+
# We need to use to use the system tar, the Git tar seems basically broken.
111+
# And `mv dir /c/...` also removes jruby.exe, so we need to avoid that.
111112
- run: C:\windows\system32\tar.exe xf jruby-head.tar.gz
112113
if: startsWith(matrix.os, 'windows')
113-
- name: Rename to jruby-head
114+
- name: Check bin/ and rename to jruby-head
114115
shell: bash
115116
run: |
117+
ls -l jruby-*-SNAPSHOT/bin
116118
mv jruby-*-SNAPSHOT jruby-head
117119
ls -l jruby-head/bin
118120
- name: Create archive

0 commit comments

Comments
 (0)