Skip to content

Commit

Permalink
fix: add missing outputs to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Nov 4, 2020
1 parent 5d26033 commit d565d0f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release_gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: pact-foundation/[email protected]
- id: release-gem
uses: pact-foundation/[email protected]
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
Expand All @@ -34,7 +39,7 @@ jobs:
event-type: gem-released
client-payload: |
{
"name": "${{ jobs.release.outputs.gem_name }}",
"version": "${{ jobs.release.outputs.version }}",
"increment": "${{ jobs.release.outputs.increment }}"
"name": "${{ needs.release.outputs.gem_name }}",
"version": "${{ needs.release.outputs.version }}",
"increment": "${{ needs.release.outputs.increment }}"
}

0 comments on commit d565d0f

Please sign in to comment.