Sha256: 7988d00793fccd97378fa5a8e412e3a351890c22a1b8a5f9fa324ca4cef67683

Contents?: true

Size: 865 Bytes

Versions: 7

Compression:

Stored size: 865 Bytes

Contents

name: Push to rubygems.org

on:
  workflow_dispatch:
    inputs:
      rubygems-otp-code:
        description: RubyGems OTP code
        required: true
        type: string
      email:
        description: Your email
        required: true
        type: string

jobs:
  release:
    runs-on: ubuntu-latest
    env:
      GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
      GEM_HOST_OTP_CODE: ${{ github.event.inputs.rubygems-otp-code }}
    steps:
    - uses: actions/checkout@v4
      with:
        fetch-depth: 0
        submodules: true

    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: '3.1'
        bundler-cache: true

    - name: config
      run: |
        git config --global user.email ${{ github.event.inputs.email }}
        git config --global user.name ${{ github.actor }}

    - name: release
      run: bundle exec rake release

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
jpostcode-1.0.0.20250206 .github/workflows/release.yml
jpostcode-1.0.0.20241201 .github/workflows/release.yml
jpostcode-1.0.0.20241101 .github/workflows/release.yml
jpostcode-1.0.0.20241001 .github/workflows/release.yml
jpostcode-1.0.0.20240901 .github/workflows/release.yml
jpostcode-1.0.0.20240807 .github/workflows/release.yml
jpostcode-1.0.0.20240703 .github/workflows/release.yml