Sha256: ff0176e8d0e2b98fed67ab12adaf7df8ee97d462082aa0e4d27274bd02c4278c

Contents?: true

Size: 835 Bytes

Versions: 1

Compression:

Stored size: 835 Bytes

Contents

name: Release

on:
  workflow_dispatch:
    inputs:
      otp:
        name: 'RubyGems OTP Code'
        required: true

jobs:
  release:
    name: Release
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.7
      - run: |
          otp=${{github.event.inputs.otp}}
          echo "::add-mask::$otp"
      - run: gem update --system
      - run: git config --global user.email github-action@users.noreply.github.com
      - run: git config --global user.name GitHub Actions
      - run: git config --global user.password ${{ github.token }}
      - run: bundle install
      - run: bundle exec rake release
        env:
          GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
          GEM_HOST_OTP_CODE: ${{ github.event.inputs.otp }}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slack-ruby-block-kit-0.18.0 .github/workflows/release.yml