Sha256: cdb205ebd9b0ce3419f72847e14b215e7da3485581b607c2093b8dde3a2811c3

Contents?: true

Size: 767 Bytes

Versions: 1

Compression:

Stored size: 767 Bytes

Contents

name: Ruby Gem

on:
  push:
    branches:    
      # Push events to branches matching refs/heads/releases/10
      - 'releases/**'
  pull_request:
    branches: [ master ]

jobs:
  build:
    name: Build + Publish to RubyGems
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby 2.6
      uses: actions/setup-ruby@v1
      with:
        ruby-version: 2.6.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_AUTH_TOKEN}}"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dependency_bumper-0.1.0 .github/workflows/gem-push.yml