Sha256: b03dc9fc03531b3eee418e311ccf819aba2e64139414dc348d068319526b67b4

Contents?: true

Size: 692 Bytes

Versions: 22

Compression:

Stored size: 692 Bytes

Contents

name: Deploy Ruby Gem

on:
  push:
    branches: [ master ]
permissions:
  contents: read

jobs:
  build:
    name: Build and Publish
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Set up Ruby 3.0
        uses: actions/setup-ruby@v1
        with:
          version: 3.0.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 *.gemspec
          gem push *.gem
        env:
          GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
simplycop-1.16.1 .github/workflows/publish_gem.yml
simplycop-1.16.0 .github/workflows/publish_gem.yml
simplycop-1.15.1 .github/workflows/publish_gem.yml
simplycop-1.15.0 .github/workflows/publish_gem.yml
simplycop-1.14.18 .github/workflows/publish_gem.yml
simplycop-1.14.17 .github/workflows/publish_gem.yml
simplycop-1.14.16 .github/workflows/publish_gem.yml
simplycop-1.14.15 .github/workflows/publish_gem.yml
simplycop-1.14.14 .github/workflows/publish_gem.yml
simplycop-1.14.13 .github/workflows/publish_gem.yml
simplycop-1.14.12 .github/workflows/publish_gem.yml
simplycop-1.14.11 .github/workflows/publish_gem.yml
simplycop-1.14.10 .github/workflows/publish_gem.yml
simplycop-1.14.9 .github/workflows/publish_gem.yml
simplycop-1.14.8 .github/workflows/publish_gem.yml
simplycop-1.14.7 .github/workflows/publish_gem.yml
simplycop-1.14.6 .github/workflows/publish_gem.yml
simplycop-1.14.5 .github/workflows/publish_gem.yml
simplycop-1.14.3 .github/workflows/publish_gem.yml
simplycop-1.14.2 .github/workflows/publish_gem.yml