Sha256: b9c976e568e0ee1e863201b137a8bee0096f5240fb31f958aeab8b3fe7de4c35

Contents?: true

Size: 676 Bytes

Versions: 6

Compression:

Stored size: 676 Bytes

Contents

name: Ruby Gem

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    name: Build + Publish
    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

6 entries across 6 versions & 2 rubygems

Version Path
bs2-0.1.0 .github/workflows/gem-push.yml
ultra_config-0.15.4 .github/workflows/gem-push.yml
ultra_config-0.15.3 .github/workflows/gem-push.yml
ultra_config-0.15.2 .github/workflows/gem-push.yml
ultra_config-0.15.1 .github/workflows/gem-push.yml
ultra_config-0.15.0 .github/workflows/gem-push.yml