Sha256: 01c0de96508ae2b5f5bc75992fdb8ae0db2bdd44c49824af94e07e4e5ebd10ae

Contents?: true

Size: 1002 Bytes

Versions: 1

Compression:

Stored size: 1002 Bytes

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: |
        gem -v
        touch ~/.gem/credentials
        chmod 0600 ~/.gem/credentials
        script/release-gem.sh
      env:
        GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_API_KEY }}'
        BUNDLE_GITHUB__COM: x-access-token:${{ secrets.GITHUB_TOKEN }}
        #GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pact_broker-client-1.27.9 .github/workflows/release_gem.yml