Sha256: 4573a13fc681b027e3d95cda26f5becb4cf7c55c75ddf499ed7cbb47cac4479f

Contents?: true

Size: 519 Bytes

Versions: 6

Compression:

Stored size: 519 Bytes

Contents

name: Publish to rubygems
on:
  release:
    types: [published]
jobs:
  publish-gem:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-ruby@v1
      - run: |
          mkdir ~/.gem
          echo -e "---\r\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials
          chmod 0600 ~/.gem/credentials
        env:
          RUBYGEMS_API_KEY: ${{secrets.rubygems_api_key}}
      - run: |
          gem build core-client.gemspec
          gem push core-client-*.gem

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
core-client-0.2.4 .github/workflows/publish-gem.yml
core-client-0.2.3 .github/workflows/publish-gem.yml
core-client-0.2.2 .github/workflows/publish-gem.yml
core-client-0.2.1 .github/workflows/publish-gem.yml
core-client-0.2.0 .github/workflows/publish-gem.yml
core-client-0.1.0 .github/workflows/publish-gem.yml