Sha256: 02a9573d2a147525ae71a9c192c4650e6ab185a3b74cfa138d52834d527934da

Contents?: true

Size: 1.01 KB

Versions: 7

Compression:

Stored size: 1.01 KB

Contents

name: Release gem

on:
  workflow_dispatch:
    inputs:
      rubygems-otp-code:
        description: RubyGems OTP code
        required: true

permissions:
  contents: write

jobs:
  release-gem:
    runs-on: ubuntu-latest
    env:
      GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
      GEM_HOST_OTP_CODE: ${{ github.event.inputs.rubygems-otp-code }}
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0 # bundle exec rake release で git tag を見るため、tagをfetchするようにしている
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 3.1.1
      - name: Bundle install
        run: bundle install
      - name: Setup git config # bundle exec rake release でgit tagが打たれていない場合、タグを打ってpushしてくれるため用意している
        run: |
          git config --global user.email "taka0125@gmail.com"
          git config --global user.name "Takahiro Ooishi"
      - name: Release gem
        run: bundle exec rake release

Version data entries

7 entries across 7 versions & 4 rubygems

Version Path
gizzard-0.8.0 .github/workflows/release.yml
google_spreadsheet_fetcher-2.0.0 .github/workflows/release.yml
ridgepole-replace_db_task-0.6.0 .github/workflows/release.yml
gizzard-0.7.1 .github/workflows/release.yml
moromi-error-0.5.0 .github/workflows/release.yml
google_spreadsheet_fetcher-1.9.1 .github/workflows/release.yml
google_spreadsheet_fetcher-1.9.0 .github/workflows/release.yml