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 withbundle install
make sure to pathuse-bundler: true
to the action