Skip to content

Commit

Permalink
chore: update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jul 31, 2020
1 parent 7a30ddb commit 6243c0d
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/release_gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ jobs:
# checkInterval: 15
# env:
# GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
# - 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 }}'
- 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 }}'
notify-gem-released:
needs: release
strategy:
Expand All @@ -39,13 +39,7 @@ jobs:
event-type: gem-released
client-payload: |
{
"name": "pact_broker",
"version": "2.59.0",
"increment": "minor"
"name": "${{ needs.release.outputs.gem_name }}",
"version": "${{ needs.release.outputs.version }}",
"increment": "${{ needs.release.outputs.increment }}"
}
# client-payload: |
# {
# "name": "${{ needs.release.outputs.gem_name }}",
# "version": "${{ needs.release.outputs.version }}",
# "increment": "${{ needs.release.outputs.increment }}"
# }

0 comments on commit 6243c0d

Please sign in to comment.