Sha256: 2f846cd06e6b7a7b23ba00ecd155a46f57fe02b704f5fbacfb98b54e6e0bfeba

Contents?: true

Size: 871 Bytes

Versions: 7

Compression:

Stored size: 871 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 rspec
        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

7 entries across 7 versions & 4 rubygems

Version Path
omniauth-cybozu-0.1.3 .github/workflows/gem-push.yml
omniauth-timetree-0.1.4 .github/workflows/gem-push.yml
tanita-api-client-0.4.1 .github/workflows/gem-push.yml
omniauth-cybozu-0.1.2 .github/workflows/gem-push.yml
omniauth-tanita-0.2.3 .github/workflows/gem-push.yml
omniauth-timetree-0.1.3 .github/workflows/gem-push.yml
tanita-api-client-0.4.0 .github/workflows/gem-push.yml