Skip to content

Commit 52c8a5c

Browse files
workos-sdk-automation[bot]gjtorikianclaude
authored
Add Rakefile to fix release workflow (#426)
The `rubygems/release-gem@v1` action expects `rake release` to be available, which requires bundler gem tasks. This was causing the release workflow to fail with "No Rakefile found". Also removes the redundant `gem build` step since `rake release` handles both building and pushing the gem. Co-authored-by: Garen J. Torikian <[email protected]> Co-authored-by: Claude Opus 4.5 <[email protected]>
1 parent 678e1d5 commit 52c8a5c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,5 @@ jobs:
6363
- name: Run tests
6464
run: bundle exec rspec
6565

66-
- name: Build gem
67-
run: gem build workos.gemspec
68-
6966
- name: Publish to RubyGems
7067
uses: rubygems/release-gem@v1

Rakefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# frozen_string_literal: true
2+
3+
require 'bundler/gem_tasks'
4+
require 'rspec/core/rake_task'
5+
6+
RSpec::Core::RakeTask.new(:spec)
7+
8+
task default: :spec

0 commit comments

Comments
 (0)