Skip to content

Commit

Permalink
Tweak JRuby build and packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Nov 7, 2024
1 parent 48e5af8 commit 17dca9a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/push_gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,17 @@ jobs:
ruby-version: ${{ matrix.ruby }}

# https://github.com/rubygems/rubygems/issues/5882
- name: Install dependencies for JRuby
- name: Install dependencies and build for JRuby
run: |
sudo apt install maven
sudo apt install default-jdk maven
gem update --system
gem install ruby-maven rake-compiler --no-document
rake compile
if: matrix.ruby == 'jruby'

- run: bundle install --jobs 4 --retry 3
- name: Install dependencies
run: bundle install --jobs 4 --retry 3
if: matrix.ruby != 'jruby'

- name: Publish to RubyGems
uses: rubygems/release-gem@612653d273a73bdae1df8453e090060bb4db5f31 # v1
Expand Down

0 comments on commit 17dca9a

Please sign in to comment.