Sha256: 79b833b8f2f97791e2784bdecb6e276331d449143842615f685632941f7ea53b

Contents?: true

Size: 897 Bytes

Versions: 6

Compression:

Stored size: 897 Bytes

Contents

name: Deploy

on:
  workflow_dispatch:
    branches: [ main ]

jobs:
  test:
    name: Publish gem
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: '3.0'
          bundler-cache: true
      - name: Run tests
        run: bundle exec rake spec
      - name: Publish gem
        uses: dawidd6/action-publish-gem@v1
        with:
          api_key: ${{secrets.RUBYGEMS_API_KEY}}
      - name: Create git tag
        uses: duderman/gh-gem-tag-action@v1
        id: release_info
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
      - uses: xresloader/upload-to-github-release@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          tag_name: ${{ steps.release_info.outputs.tag }}
          draft: false
          file: '*.gem'

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
danger-spotbugs-1.0.0 .github/workflows/deploy.yml
danger-spotbugs-0.0.4 .github/workflows/deploy.yml
danger-spotbugs-0.0.3 .github/workflows/deploy.yml
danger-pmd-1.0.5 .github/workflows/deploy.yml
danger-spotbugs-0.0.2 .github/workflows/deploy.yml
danger-pmd-1.0.4 .github/workflows/deploy.yml