Sha256: 1f077dfaa6292859e2b8ab1b22c3704467cf2db2f53235fbe7d6bacbc579486b

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 Bytes

Contents

name: Publish Gem

on:
  push:
    branches:
      - "main"
    tags:
      - v*
jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-ruby@v1
        with:
          ruby-version: '2.6'
      - name: Install dependencies
        run: |
          gem install bundler:2.1.4
          bundle install
      - name: Release Gem
        if: contains(github.ref, 'refs/tags/v')
        uses: cadwallion/publish-rubygems-action@master
        env:
          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
          RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
          RELEASE_COMMAND: bundle exec rake release

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phi_attrs-0.2.2 .github/workflows/publish.yml