Sha256: f38503b90463e0176075d5feaa6c1b2195b76f81ba17ec9854433fe93d9c10d1

Contents?: true

Size: 1.38 KB

Versions: 3

Compression:

Stored size: 1.38 KB

Contents

name: Release gem

on:
  repository_dispatch:
    types:
      - release-patch

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - uses: actions/setup-ruby@v1
      with:
        ruby-version: '2.6'
    - name: Install gems
      run: |
        gem update --system
        gem install bundler -v 2.0.2
        bundle install
    - name: Configure git
      run: |
        git config user.email "beth@bethesque.com"
        git config user.name "Beth Skurrie via Github Actions"
    - name: Prepare release
      run: script/prepare-release.sh
      env:
        INCREMENT: patch
    - name: Release gem
      run: |
        touch ~/.gem/credentials
        script/release-gem.sh
      env:
        GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_API_KEY }}'
    - name: Prepare Github Release
      run: script/prepare-github-release.sh
    - name: Create Github Release
      uses: actions/create-release@v1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        tag_name: ${{ env.TAG }}
        release_name: ${{ env.TAG }}
        body_path: tmp/RELEASE_NOTES.md
    - name: Trigger release of pact-cli Docker image
      uses: peter-evans/repository-dispatch@v1
      with:
        token: ${{ secrets.GHTOKENFORPACTCLIRELEASE }}
        repository: pact-foundation/pact-ruby-cli
        event-type: gem-released

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pact_broker-client-1.27.21 .github/workflows/release_gem.yml
pact_broker-client-1.27.20 .github/workflows/release_gem.yml
pact_broker-client-1.27.19 .github/workflows/release_gem.yml