Sha256: a193a26118f3fc4dc7ec353b207ce8b523d1f03583acbc8289db749acad3a183

Contents?: true

Size: 840 Bytes

Versions: 2

Compression:

Stored size: 840 Bytes

Contents

---
name: Pipeline
on: push
jobs:
  build:
    name: Build
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true
      - name: Lint
        run: bundle exec rubocop
      - name: Test
        run: bundle exec rspec
      - name: Release the gem
        if: ${{ github.ref == 'refs/heads/main' }}
        run: |
          mkdir -p ~/.gem
          cat << EOF > ~/.gem/credentials
          ---
          :github: Bearer ${GITHUB_TOKEN}
          :rubygems_api_key: ${RUBYGEMS_API_KEY}
          EOF
          chmod 0600 ~/.gem/credentials
          git config user.email "noreply@wealthsimple.com"
          git config user.name "Wolfbot"
          bundle exec rake release
        env:
          RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
static_collection-0.2.1 .github/workflows/main.yml
rollbar-api-0.4.1 .github/workflows/main.yml