Sha256: fe7d7f1567bdb44ddcc629ceb174f9c13691042352ceaf076ffa00ef7e868137

Contents?: true

Size: 1.58 KB

Versions: 14

Compression:

Stored size: 1.58 KB

Contents

name: Release gem

on:
  repository_dispatch:
    types:
      - release-triggered

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0
    # - name: 'Wait for status checks'
    #   id: wait-for-status-checks
    #   uses: "WyriHaximus/github-action-wait-for-status@v2"
    #   with:
    #     checkInterval: 15
    #   env:
    #     GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
    - id: release-gem
      uses: pact-foundation/release-gem@v0.0.11
      env:
        GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_API_KEY }}'
        GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
        INCREMENT: '${{ github.event.client_payload.increment }}'
    outputs:
      gem_name: "${{ steps.release-gem.outputs.gem_name }}"
      version: "${{ steps.release-gem.outputs.version }}"
      increment: "${{ steps.release-gem.outputs.increment }}"

  notify-gem-released:
    needs: release
    strategy:
      matrix:
        repository: [pact-foundation/pact-broker-docker, DiUS/pact_broker-docker]
    runs-on: ubuntu-latest
    steps:
      - name: Notify ${{ matrix.repository }} of gem release
        uses: peter-evans/repository-dispatch@v1
        with:
          token: ${{ secrets.GHTOKENNOTIFYPBRELEASED }}
          repository: ${{ matrix.repository }}
          event-type: gem-released
          client-payload: |
              {
                "name": "${{ needs.release.outputs.gem_name }}",
                "version": "${{ needs.release.outputs.version }}",
                "increment": "${{ needs.release.outputs.increment }}"
              }

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
pact_broker-2.78.1 .github/workflows/release_gem.yml
pact_broker-2.78.0 .github/workflows/release_gem.yml
pact_broker-2.77.0 .github/workflows/release_gem.yml
pact_broker-2.76.2 .github/workflows/release_gem.yml
pact_broker-2.76.1 .github/workflows/release_gem.yml
pact_broker-2.76.0 .github/workflows/release_gem.yml
pact_broker-2.75.0 .github/workflows/release_gem.yml
pact_broker-2.74.1 .github/workflows/release_gem.yml
pact_broker-2.74.0 .github/workflows/release_gem.yml
pact_broker-2.73.0 .github/workflows/release_gem.yml
pact_broker-2.72.0 .github/workflows/release_gem.yml
pact_broker-2.71.0 .github/workflows/release_gem.yml
pact_broker-2.70.0 .github/workflows/release_gem.yml
pact_broker-2.69.0 .github/workflows/release_gem.yml