Skip to content

Commit

Permalink
Use find-jruby-head-url-nokogiri.rb
Browse files Browse the repository at this point in the history
* Installing nokogiri used to be slow, but no longer a problem nowadays.
* It's more correct, see #7
  • Loading branch information
eregon committed Dec 14, 2024
1 parent e6de7fd commit c018acd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,16 @@ jobs:
echo "platform=$platform" >> $GITHUB_OUTPUT
# Build
- name: Clone this repo to get find-jruby-head-url.rb
- name: Clone this repo to get find-jruby-head-url-nokogiri.rb
uses: actions/checkout@v4
- uses: ruby/setup-ruby@master
with:
ruby-version: 2.6
ruby-version: ruby
- name: Download latest jruby nightly archive
shell: bash
run: |
url=$(ruby find-jruby-head-url.rb)
gem install nokogiri
url=$(ruby find-jruby-head-url-nokogiri.rb)
echo "$url"
curl --fail -L -o jruby-head.tar.gz "$url"
- uses: eregon/clean-path@v1
Expand Down

0 comments on commit c018acd

Please sign in to comment.