Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI/CD to publish gem #201

Merged
merged 2 commits into from
May 2, 2024
Merged

Add CI/CD to publish gem #201

merged 2 commits into from
May 2, 2024

Conversation

kachick
Copy link
Owner

@kachick kachick commented May 2, 2024

2a302b28c374a8c8da81f796225b1a3a8398d37cf04aacfc0553cf70029bf4e1  ./irb-power_assert.gem
Unpacked gem: '/home/runner/work/irb-power_assert/irb-power_assert/pkg/irb-power_assert'
.
└── irb-power_assert
    ├── LICENSE.txt
    ├── README.md
    └── lib
        ├── irb
        │   ├── cmd
        │   │   └── pa.rb
        │   ├── power_assert
        │   │   └── version.rb
        │   └── power_assert.rb
        └── irb-power_assert.rb

5 directories, 6 files

with:
bundler-cache: true
- run: mkdir -p pkg
- run: bundle exec gem build --strict --norc --output=pkg/irb-power_assert.gem irb-power_assert.gemspec
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better than rake build for this purpose, I think

@kachick kachick merged commit 5665f8f into main May 2, 2024
12 checks passed
@kachick kachick deleted the action-build-gem branch May 2, 2024 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant