Skip to content

Commit b433575

Browse files
committed
chore: add workflow to release gem
1 parent 30581ef commit b433575

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/release_gem.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release gem
2+
3+
on:
4+
push:
5+
tags:
6+
- release
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- uses: pact-foundation/release-gem@v0.0.5
16+
env:
17+
GEM_HOST_API_KEY: '${{ secrets.RUBYGEMS_API_KEY }}'
18+
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
19+
# - name: Trigger release of pact-cli Docker image
20+
# uses: peter-evans/repository-dispatch@v1
21+
# with:
22+
# token: ${{ secrets.GHTOKENFORPACTCLIRELEASE }}
23+
# repository: pact-foundation/pact-ruby-cli
24+
# event-type: gem-released

0 commit comments

Comments
 (0)