Sha256: 44e11a2820f34188f7c8b6e7dc550c8245e9008fd08f6a99459d01abbde27b49

Contents?: true

Size: 672 Bytes

Versions: 4

Compression:

Stored size: 672 Bytes

Contents

name: Ruby Gem

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

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

4 entries across 4 versions & 1 rubygems

Version Path
aws_secrets_loader-0.1.5 .github/workflows/gem-push.yml
aws_secrets_loader-0.1.4 .github/workflows/gem-push.yml
aws_secrets_loader-0.1.3 .github/workflows/gem-push.yml
aws_secrets_loader-0.1.2 .github/workflows/gem-push.yml