Skip to content

Action do gem release to rubygems.org or custom hosts

License

Notifications You must be signed in to change notification settings

actions-mn/gem-release

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test

gem-release

Setup extra flavors that aren't come with default metanorma installation, like this

...
- run: gem build some.gemspec

- uses: actions-mn/gem-release@main
  with:
    api-key: ${{ secrets.RUBYGEMS_API_KEY }}

Or

...
- uses: actions-mn/gem-release@main
  with:
    api-key: ${{ secrets.RUBYGEMS_API_KEY }}
    release-command: |
      gem build *.gemspec
      gem push *.gem

Or

- uses: actions-mn/gem-release@main
  with:
    github-pakages-token: ${{ secrets.PAT_TOKEN }}
    release-command: |
      bundle exec rake build
      gem push --key github --host https://rubygems.pkg.github.com/metanorma pkg/*.gem

NOTE: this action only works for metanorma from ruby-gems

NOTE: if metanorma-cli installed with bundle install make sure to path use-bundler: true to the action

About

Action do gem release to rubygems.org or custom hosts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published