Sha256: 16fbe0911960a28bac5e28e6fb1b90c45da91077a56f963062651328fc54fade

Contents?: true

Size: 882 Bytes

Versions: 9

Compression:

Stored size: 882 Bytes

Contents

---
name: Pipeline
on:
  push:
jobs:
  build:
    name: Build
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - 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

9 entries across 9 versions & 1 rubygems

Version Path
pheme-4.0.14 .github/workflows/main.yml
pheme-4.0.13 .github/workflows/main.yml
pheme-4.0.12 .github/workflows/main.yml
pheme-4.0.11 .github/workflows/main.yml
pheme-4.0.10 .github/workflows/main.yml
pheme-4.0.9 .github/workflows/main.yml
pheme-4.0.8 .github/workflows/main.yml
pheme-4.0.7 .github/workflows/main.yml
pheme-4.0.6 .github/workflows/main.yml