File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 30
30
- name : Install bzip2 library
31
31
if : matrix.os == 'windows'
32
32
run : |
33
- wget https://github.com/philr/bzip2-windows/releases/download/v1.0.8.0/bzip2-dll-1.0.8.0-win-x64.zip
34
- Expand-Archive -Path bzip2-dll-1.0.8.0-win-x64.zip -DestinationPath C:\hostedtoolcache\windows\Ruby\${{ matrix.ruby }}\x64\bin
33
+ Invoke-WebRequest `
34
+ -Uri https://github.com/philr/bzip2-windows/releases/download/v1.0.8.0/bzip2-dll-1.0.8.0-win-x64.zip `
35
+ -OutFile bzip2.zip `
36
+ -MaximumRetryCount 10 `
37
+ -RetryIntervalSec 2
38
+ $RubyBinPath = Split-Path (Get-Command ${{ startsWith(matrix.ruby, 'jruby') && 'j' || '' }}ruby.exe).Path
39
+ Write-Host $RubyBinPath
40
+ Expand-Archive -Path bzip2.zip -DestinationPath $RubyBinPath -Force
41
+ Get-Command bzip2.exe | Format-List
35
42
36
43
- name : Run the tests
37
44
env :
You can’t perform that action at this time.
0 commit comments