Skip to content

Commit c018acd

Browse files
committed
Use find-jruby-head-url-nokogiri.rb
* Installing nokogiri used to be slow, but no longer a problem nowadays. * It's more correct, see #7
1 parent e6de7fd commit c018acd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,16 @@ jobs:
9393
echo "platform=$platform" >> $GITHUB_OUTPUT
9494
9595
# Build
96-
- name: Clone this repo to get find-jruby-head-url.rb
96+
- name: Clone this repo to get find-jruby-head-url-nokogiri.rb
9797
uses: actions/checkout@v4
9898
- uses: ruby/setup-ruby@master
9999
with:
100-
ruby-version: 2.6
100+
ruby-version: ruby
101101
- name: Download latest jruby nightly archive
102102
shell: bash
103103
run: |
104-
url=$(ruby find-jruby-head-url.rb)
104+
gem install nokogiri
105+
url=$(ruby find-jruby-head-url-nokogiri.rb)
105106
echo "$url"
106107
curl --fail -L -o jruby-head.tar.gz "$url"
107108
- uses: eregon/clean-path@v1

0 commit comments

Comments
 (0)