Sha256: 627f60529368dc78b68fbaded04dec22bbbe54239fd4e9e166a83e43a4639d2a

Contents?: true

Size: 878 Bytes

Versions: 4

Compression:

Stored size: 878 Bytes

Contents

name: Build

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - name: Set up Ruby
      uses: actions/setup-ruby@v1
      with:
        ruby-version: 2.7.x

    - name: Install Dependencies
      run: |
        gem install bundler
        bundle install --jobs 4 --retry 3

    - name: Deploy
      if: github.ref == 'refs/heads/master' && !contains(github.event.commits[0].message, '[skip deploy]')
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}

      run: |
        git config --global user.email "dwilkie@gmail.com"
        git config --global user.name "David Wilkie"
        mkdir -p ~/.gem
        echo -e "---\r\n:rubygems_api_key: $GEM_HOST_API_KEY" > ~/.gem/credentials
        chmod 0600 ~/.gem/credentials
        bundle exec rake release

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
torasup-0.3.3 .github/workflows/build.yml
torasup-0.3.2 .github/workflows/build.yml
torasup-0.3.1 .github/workflows/build.yml
torasup-0.3.0 .github/workflows/build.yml