From 90f6e6d92a1fdb9e15ccc5088afcc53e7cf733d6 Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Thu, 16 Jul 2020 10:37:18 +1000 Subject: [PATCH] chore: add release_gem.yml --- .github/workflows/release_gem.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/release_gem.yml diff --git a/.github/workflows/release_gem.yml b/.github/workflows/release_gem.yml new file mode 100644 index 0000000..c3d1c68 --- /dev/null +++ b/.github/workflows/release_gem.yml @@ -0,0 +1,20 @@ +--- +name: "Release gem" + +on: + repository_dispatch: + types: + - release-triggered + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: pact-foundation/release-gem@v0.0.8 + env: + GEM_HOST_API_KEY: "${{ secrets.RUBYGEMS_API_KEY }}" + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + INCREMENT: "${{ github.event.client_payload.increment }}"