Sha256: 87d40dfbc6b4c42c9ffbfd56b07488f248eddba13210af5733c902c7dc7ac844

Contents?: true

Size: 764 Bytes

Versions: 3

Compression:

Stored size: 764 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: Install apt dependencies
        run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev # needed by faraday-patron gem

      - 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

3 entries across 3 versions & 1 rubygems

Version Path
IPinfo-2.2.4 .github/workflows/cd_rubygems.yaml
IPinfo-2.2.3 .github/workflows/cd_rubygems.yaml
IPinfo-2.2.1 .github/workflows/cd_rubygems.yaml