From 2261952c621bdea5457c415db975dd9b44a537ac Mon Sep 17 00:00:00 2001 From: Jacek Milewski Date: Sun, 21 Apr 2024 16:57:02 +0200 Subject: [PATCH] ci-shared-lib --- .github/workflows/ci-promoter.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci-promoter.yml b/.github/workflows/ci-promoter.yml index 33dd2d9d..f7d90e24 100644 --- a/.github/workflows/ci-promoter.yml +++ b/.github/workflows/ci-promoter.yml @@ -36,3 +36,10 @@ jobs: run: >- cd services/Promoter && ./gradlew test + + - name: Publish Promoter Pact + run: >- + cd services/Promoter && + ./gradlew pactPublish \ + -Dpact.publish.consumer.version=${{ github.sha }} \ + -Dpact.publish.consumer.branchName=${{ github.ref }}