Sha256: 031b298cca5452a63a75bb162b4c1f6d79612eed0124d371d11d7d6a34a5d641

Contents?: true

Size: 706 Bytes

Versions: 12

Compression:

Stored size: 706 Bytes

Contents

name: Publish to Rubygems

on:
  release:
    types: [created]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2

      - name: Install Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: 3.0

      - name: Install dependencies
        run: bundle install

      - 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}}"

Version data entries

12 entries across 12 versions & 4 rubygems

Version Path
qrcode_pix_ruby-0.6.0 .github/workflows/rubygems.yml
keycloak-connect-ruby-1.0.0 .github/workflows/publish_to_rubygems.yml
qrcode_pix_ruby-0.5.1 .github/workflows/rubygems.yml
erede-ruby-sdk-3.0.2 .github/workflows/rubygems.yml
erede-ruby-sdk-3.0.1 .github/workflows/rubygems.yml
erede-ruby-sdk-3.0.0 .github/workflows/rubygems.yml
microsoft_teams_incoming_webhook_ruby-1.0.2 .github/workflows/publish_to_rubygems.yml
microsoft_teams_incoming_webhook_ruby-1.0.1 .github/workflows/publish_to_rubygems.yml
microsoft_teams_incoming_webhook_ruby-1.0.0 .github/workflows/publish_to_rubygems.yml
qrcode_pix_ruby-0.5.0 .github/workflows/rubygems.yml
qrcode_pix_ruby-0.4.0 .github/workflows/rubygems.yml
qrcode_pix_ruby-0.3.4 .github/workflows/rubygems.yml