Sha256: 78f8c0b41b8aa6027c752d69937de1e4d28efde73bc685203ed9a49dfd0396f6

Contents?: true

Size: 875 Bytes

Versions: 5

Compression:

Stored size: 875 Bytes

Contents

name: Ruby Gem

on:
  push:
    branches: [master]

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

      - name: Build and test
        run: |
          gem install bundler
          bundle install --jobs 4 --retry 3
          bundle exec rake test
        env:
          CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}

      - 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

5 entries across 5 versions & 2 rubygems

Version Path
omniauth-zoom-0.1.1 .github/workflows/gem-push.yml
omniauth-zoom-0.1.0 .github/workflows/gem-push.yml
omniauth-zoom-0.0.1 .github/workflows/gem-push.yml
timetree-0.1.7 .github/workflows/gem-push.yml
timetree-0.1.6 .github/workflows/gem-push.yml