Sha256: 41a3dfabe497a1f2e76042c794926fedabf6bda71aaf45dd9f269a141aec010d

Contents?: true

Size: 770 Bytes

Versions: 2

Compression:

Stored size: 770 Bytes

Contents

name: Release

on:
  check_suite:
    types: [completed]

jobs:
  release:
    name: Check and Release New Version
    runs-on: ubuntu-latest
    # `github.ref` from the `check_suite` trigger is always the default branch
    if: format('refs/heads/{0}', github.event.check_suite.head_branch) == github.ref && github.event.check_suite.conclusion == 'success'
    steps:
    - name: Checkout Code
      uses: actions/checkout@v2
      with:
        fetch-depth: 2

    - name: Setup Ruby
      uses: actions/setup-ruby@v1
      with:
        ruby-version: 2.6

    - name: Release Gem
      id: release-gem
      uses: salsify/action-release-gem@v1.1.0
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-exclaim-0.1.0 .github/workflows/release.yml
ruby-exclaim-0.0.0 .github/workflows/release.yml