Sha256: 1e9ddcec8a65870509426db8b32f9f6a366d5ffcf51b29e3c06babec4dd4770d

Contents?: true

Size: 922 Bytes

Versions: 5

Compression:

Stored size: 922 Bytes

Contents

name: Taskinator

on:
  push:
    branches: [ master ]

  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby-version:
          - '2.7'
          - '3.0'
    steps:
    - uses: actions/checkout@v2
    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: true
    - name: Build Gem
      run: bundle exec rake build
    - name: Run tests
      run: bundle exec rake spec

  publish:
    if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
    needs: build
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Release Gem
      uses: discourse/publish-rubygems-action@v2
      env:
        RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
        GIT_NAME: Chris Stefano
        GIT_EMAIL: virtualstaticvoid@gmail.com

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
taskinator-0.5.0 .github/workflows/taskinator.yml
taskinator-0.4.7 .github/workflows/taskinator.yml
taskinator-0.4.6 .github/workflows/taskinator.yml
taskinator-0.4.5 .github/workflows/taskinator.yml
taskinator-0.4.4 .github/workflows/taskinator.yml