diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0ff276b70..6583831bc 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -29,29 +29,12 @@ jobs: with: ruby-version: ${{ matrix.version }} - - name: Clone patched rb-readline - shell: cmd - run: git clone -q --depth=5 --no-tags --branch=byebug https://github.com/deivid-rodriguez/rb-readline.git C:\rb-readline - - - name: Install patched rb-readline - run: | - $env:n_dir = (&ruby.exe -e "puts RbConfig::CONFIG['sitelibdir']" | Out-String).Trim() - Copy-Item -Path C:\rb-readline\lib\readline.rb -Destination $env:n_dir\readline.rb - Copy-Item -Path C:\rb-readline\lib\rbreadline.rb -Destination $env:n_dir\rbreadline.rb - - - name: Display environment information - shell: cmd + - name: Patch rb-readline run: | - echo %PATH% - - ruby --version - where ruby - - gem --version - where gem - - bash --version - where bash + git clone -q --depth=5 --no-tags --branch=byebug https://github.com/deivid-rodriguez/rb-readline.git C:\rb-readline + $n_dir = $(ruby -e "print RbConfig::CONFIG['sitelibdir']") + Copy-Item -Path C:\rb-readline\lib\readline.rb -Destination $n_dir\readline.rb + Copy-Item -Path C:\rb-readline\lib\rbreadline.rb -Destination $n_dir\rbreadline.rb - name: Setup dependencies shell: bash diff --git a/README.md b/README.md index cb5fd5d17..2210bb7a3 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ more][Tidelift for enterprise]. ## Build Status -Linux ![](https://github.com/deivid-rodriguez/byebug/workflows/build/badge.svg) +Linux ![ubuntu](https://github.com/deivid-rodriguez/byebug/workflows/ubuntu/badge.svg) Windows [![Vey][vey]][vey_url] [vey]: https://ci.appveyor.com/api/projects/status/github/deivid-rodriguez/byebug?svg=true