Sha256: 89d6176043b60914f5bead15aa329ce495fdea033eca8208f65f8f405c599e29

Contents?: true

Size: 632 Bytes

Versions: 3

Compression:

Stored size: 632 Bytes

Contents

name: Ruby Gem

on:
  push:
    tags:
      - "*"

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

3 entries across 3 versions & 1 rubygems

Version Path
rest-in-peace-6.2.0 .github/workflows/gem-push.yml
rest-in-peace-6.1.1 .github/workflows/gem-push.yml
rest-in-peace-6.1.0 .github/workflows/gem-push.yml