8000 Use the system tar on Windows, not the broken Git shell tar · marcotc/jruby-dev-builder@4e64812 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e64812

Browse files
committed
Use the system tar on Windows, not the broken Git shell tar
1 parent a415a09 commit 4e64812

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,12 @@ jobs:
7777
- uses: eregon/clean-path@v1
7878
with:
7979
regexp: '\bruby\b'
80-
# Extracting must be done in the native shell: https://github.com/MSP-Greg/ruby-setup-ruby/issues/1
8180
- run: tar xf jruby-head.tar.gz
81+
if: "!startsWith(matrix.os, 'windows')"
82+
# Extracting must be done in the native shell: https://github.com/MSP-Greg/ruby-setup-ruby/issues/1
83+
# We need to use to use the system tar, the Git tar seems basically broken
84+
- run: C:\windows\system32\tar.exe xf jruby-head.tar.gz
85+
if: startsWith(matrix.os, 'windows')
8286
- name: Rename to jruby-head
8387
shell: bash
8488
run: |

0 commit comments

Comments
 (0)
0