name: Release Version

on:
  push:
    tags:
      - "v*"

jobs:
  release_version:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: lsegal/github-release-from-changelog-action@latest
      - name: Publish RubyGem
        uses: dawidd6/action-publish-gem@v1
        with:
          api_key: ${{secrets.RUBYGEMS_API_KEY}}

name: Release Version

on:
  push:
    tags:
      - "v*"

jobs:
  release_version:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: lsegal/github-release-from-changelog-action@latest
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      - name: Publish RubyGem
        uses: dawidd6/action-publish-gem@v1
        with:
          api_key: ${{secrets.RUBYGEMS_API_KEY}}

Add GITHUB_TOKEN to release command
Add GITHUB_TOKEN to release command