Sha256: 49a9e6df057c5f73570430766de784f9953923c64d45ca6bc3f7d4014e7aa913

Contents?: true

Size: 663 Bytes

Versions: 35

Compression:

Stored size: 663 Bytes

Contents

name: Publish Ruby Gem

on:
  push:
    branches: [ master ]

jobs:
  build:
    name: Build and Publish
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - 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
          gem push *.gem
        env:
          GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
twiglet-3.4.0 .github/workflows/gem-publish.yml
twiglet-3.3.7 .github/workflows/gem-publish.yml
twiglet-3.3.6 .github/workflows/gem-publish.yml
twiglet-3.3.5 .github/workflows/gem-publish.yml
twiglet-3.3.4 .github/workflows/gem-publish.yml
twiglet-3.3.3 .github/workflows/gem-publish.yml
twiglet-3.3.2 .github/workflows/gem-publish.yml
twiglet-3.3.0 .github/workflows/gem-publish.yml
twiglet-3.2.5 .github/workflows/gem-publish.yml
twiglet-3.2.4 .github/workflows/gem-publish.yml
twiglet-3.2.2 .github/workflows/gem-publish.yml
twiglet-3.2.1 .github/workflows/gem-publish.yml
twiglet-3.2.0 .github/workflows/gem-publish.yml
twiglet-3.1.3 .github/workflows/gem-publish.yml
twiglet-3.1.2 .github/workflows/gem-publish.yml
twiglet-3.1.1 .github/workflows/gem-publish.yml
twiglet-3.1.0 .github/workflows/gem-publish.yml
twiglet-3.0.8 .github/workflows/gem-publish.yml
twiglet-3.0.6 .github/workflows/gem-publish.yml
twiglet-3.0.5 .github/workflows/gem-publish.yml