Sha256: 92c1e5f8b6eadbeeccebc75532386dd85e371696722778243c1a1ec9c1f8a208

Contents?: true

Size: 576 Bytes

Versions: 1

Compression:

Stored size: 576 Bytes

Contents

name: Publish to Rubygems

on:
  push:
    tags:
      - '*'

jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
    - name: Install dependencies
      run: bundle install
    - name: gem build
      run: gem build tlapse.gemspec
    - name: gem push
      env:
        GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
      run: |
        tag=$(git describe --tags)
        tag=${tag:1}
        gem push "tlapse-$tag.gem"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tlapse-0.9.0 .github/workflows/publish.yml