Sha256: e1bed7e45039ce9023712583897b59710f8c96d1866f80a0bdf5dfe42b61c4ee

Contents?: true

Size: 646 Bytes

Versions: 16

Compression:

Stored size: 646 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
        uses: ruby/setup-ruby@v1
      - 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

16 entries across 16 versions & 1 rubygems

Version Path
simplycop-2.9.0 .github/workflows/publish_gem.yml
simplycop-2.8.0 .github/workflows/publish_gem.yml
simplycop-2.7.2 .github/workflows/publish_gem.yml
simplycop-2.7.1 .github/workflows/publish_gem.yml
simplycop-2.7.0 .github/workflows/publish_gem.yml
simplycop-2.6.0 .github/workflows/publish_gem.yml
simplycop-2.5.1 .github/workflows/publish_gem.yml
simplycop-2.5.0 .github/workflows/publish_gem.yml
simplycop-2.3.3 .github/workflows/publish_gem.yml
simplycop-2.3.2 .github/workflows/publish_gem.yml
simplycop-2.3.1 .github/workflows/publish_gem.yml
simplycop-2.3.0 .github/workflows/publish_gem.yml
simplycop-2.2.0 .github/workflows/publish_gem.yml
simplycop-2.1.4 .github/workflows/publish_gem.yml
simplycop-2.1.3 .github/workflows/publish_gem.yml
simplycop-2.1.2 .github/workflows/publish_gem.yml