Sha256: 2da77024fa0a12d37f7905053e95fa32b388092a2d80400cd32cba49127db586

Contents?: true

Size: 705 Bytes

Versions: 5

Compression:

Stored size: 705 Bytes

Contents

name: Publish

on:
  release:
    types: [published]

jobs:
  build:
    name: Publish to Rubygems
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@master

      - name: Set up Ruby 2.7
        uses: actions/setup-ruby@v1
        with:
          ruby-version: 2.7.x

      - 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 sidekiq-logstash.gemspec
          gem push sidekiq-logstash-*.gem
        env:
          GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sidekiq-logstash-3.0.0 .github/workflows/publish.yml
sidekiq-logstash-2.0.3 .github/workflows/publish.yml
sidekiq-logstash-2.0.2 .github/workflows/publish.yml
sidekiq-logstash-2.0.1 .github/workflows/publish.yml
sidekiq-logstash-2.0.0 .github/workflows/publish.yml