Sha256: bbd956bd6700a75099e8de99f676b5aa30d667e384a0f8b397f18cb649f654cb

Contents?: true

Size: 695 Bytes

Versions: 4

Compression:

Stored size: 695 Bytes

Contents

name: Ruby Gem

on:
  push:
    branches: [ master ]

jobs:
  build:
    name: Build + Publish
    runs-on: ubuntu-latest
    permissions:
      contents: read
      packages: write

    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

4 entries across 4 versions & 3 rubygems

Version Path
devise_zxcvbn-6.0.0 .github/workflows/gem-push.yml
json_api_filter-0.3.2 .github/workflows/gem-push.yml
opera-0.2.1 .github/workflows/gem-push.yml
opera-0.2.0 .github/workflows/gem-push.yml