Skip to content

Bump version

Bump version #5

Workflow file for this run

name: Publish gem to rubygems
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
# setup .gem/credentials
- run: mkdir -p ~/.gem
- run: echo -e "---\n:rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}" > ~/.gem/credentials

Check failure on line 14 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
- run: chmod 0600 ~/.gem/credentials
- run: gem build convert_api.gemspec --output=release.gem
- run: gem push release.gem