Sha256: 48acfce1e741dc2cb380770bfdda5d121e1a2c1fdb38ce4dbd629513f533be46

Contents?: true

Size: 751 Bytes

Versions: 3

Compression:

Stored size: 751 Bytes

Contents

name: Publish Gem

on:
  pull_request:
    branches:
      - master
  push:
    branches:
      - master

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

    steps:
      - uses: actions/checkout@master
      - name: Set up Ruby 2.6
        uses: actions/setup-ruby@v1
        with:
          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
          mv *.gem gemfiles/
          gem push gemfiles/*.gem
        env:
          GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ipay-rest-0.1.3 .github/workflows/.gempush.yml
ipay-rest-0.1.2 .github/workflows/.gempush.yml
ipay-rest-0.1.1 .github/workflows/.gempush.yml