Sha256: 2bda2907be9ed032975c0709e2096b61a6271e1ad14aa0486752cffe9c77e7d7

Contents?: true

Size: 1.01 KB

Versions: 9

Compression:

Stored size: 1.01 KB

Contents

name: Ruby Gem

on:
  release:
    types: [published]

jobs:
  build:
    name: Build + Publish
    runs-on: ubuntu-latest
    if: github.actor == github.event.repository.owner.login

    steps:
    - uses: actions/checkout@master
    - name: Set up Ruby 2.6
      uses: actions/setup-ruby@v1
      with:
        ruby-version: 2.6

    - name: Publish to RubyGems
      run: |
        mkdir -p $HOME/.gem
        touch $HOME/.gem/credentials
        chmod 0600 $HOME/.gem/credentials
        printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
        gem build *.gemspec
        gem push *.gem
      env:
        GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}

    - name: Slack notification Success
      if: success()
      env:
        SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
      uses: cemkiy/action-slacker@master
      with:
        channel: '#github-ci-actions'
        icon_url: 'https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png'
        username: 'GitHub'

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
fluent-plugin-filter-kv-parser-0.0.9 .github/workflows/ci-release-gem.yml
fluent-plugin-filter-kv-parser-0.0.7 .github/workflows/ci-release-gem.yml
fluent-plugin-record-splitter-0.0.1 .github/workflows/ci-release-gem.yml
fluent-plugin-filter-kv-parser-0.0.6 .github/workflows/ci-release-gem.yml
fluent-plugin-filter-kv-parser-0.0.5 .github/workflows/ci-release-gem.yml
fluent-plugin-filter-kv-parser-0.0.4 .github/workflows/ci-release-gem.yml
fluent-plugin-filter-kv-parser-0.0.3 .github/workflows/ci-release-gem.yml
fluent-plugin-filter-kv-parser-0.0.2 .github/workflows/ci-release-gem.yml
fluent-plugin-filter-kv-parser-0.0.1 .github/workflows/ci-release-gem.yml