Skip to content

Commit ac9db54

Browse files
authored
Merge pull request #192 from ruby/claude/ruby-date-actions-fix-1932cb
Fix the JRuby release job
2 parents 0cd525c + c12a833 commit ac9db54

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

‎.github/workflows/push_gem.yml‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ jobs:
4141
- name: Install dependencies
4242
run: bundle install --jobs 4 --retry 3
4343

44-
- name: Build gem for JRuby
45-
run: rake build
46-
if: matrix.ruby == 'jruby'
47-
4844
- name: Publish to RubyGems
4945
uses: rubygems/release-gem@7f9650160c1a4e7989fdc9855807bdbd421d8b6b # v1.4.1
5046

‎Gemfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
source 'https://rubygems.org'
22

3-
gemspec
3+
# The java gem is an empty placeholder, and lib/date.rb would shadow JRuby's own date
4+
gemspec unless RUBY_ENGINE == 'jruby'
45

56
group :development do
67
gem "bundler"

0 commit comments

Comments
 (0)