Sha256: da18f48d71b328212f14b470be6ee1bd8f3b147fe3aea2666d1e1d2d5dabdcb1

Contents?: true

Size: 666 Bytes

Versions: 3

Compression:

Stored size: 666 Bytes

Contents

name: Publish

on:
  release:
    types: [published]

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

    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-ruby@v1
        with:
          ruby-version: 3

      - 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

3 entries across 3 versions & 1 rubygems

Version Path
sidekiq-logstash-3.2.1 .github/workflows/publish.yml
sidekiq-logstash-3.2.0 .github/workflows/publish.yml
sidekiq-logstash-3.1.0 .github/workflows/publish.yml