Sha256: 1d198f6370b3d46f0ea41c4646e6d78aa2df8698e33595471e7406b2062f717a

Contents?: true

Size: 612 Bytes

Versions: 1

Compression:

Stored size: 612 Bytes

Contents

name: Release package to rubygems.org

on:
  push:
    tags:
      - 'v*'

jobs:
  publish:

    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Set up Ruby
        uses: ruby/setup-ruby@v1

      - name: Install dependencies
        run: bundle install

      - name: Run tests
        run: bundle exec rake
        env: 
          IPINFO_TOKEN: ${{ secrets.IPINFO_TOKEN }}

      - name: Build
        run: gem build *.gemspec

      - name: Publish
        run: gem push *.gem
        env:
          GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
IPinfo-1.1.0 .github/workflows/cd_rubygems.yaml