Skip to content

Commit

Permalink
Rubygems action for releasing gem
Browse files Browse the repository at this point in the history
  • Loading branch information
gryphon committed Oct 7, 2024
1 parent fe9903b commit 92b2d34
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,23 @@ jobs:
# bundler-cache: true
# ruby-version: head
# - name: Run style checks
# run: bundle exec rubocop
# run: bundle exec rubocop
push:
name: Push gem to RubyGems.org
runs-on: ubuntu-latest

permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
contents: write # IMPORTANT: this permission is required for `rake release` to push the release tag

steps:
# Set up
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ruby

# Release
- uses: rubygems/release-gem@v1

0 comments on commit 92b2d34

Please sign in to comment.