From ceabc1699c1131069d86ade9188a7377a9e18786 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Thu, 5 Sep 2024 13:07:06 +0100 Subject: [PATCH] ci(test): publish pact vias via gh actions --- .github/workflows/build-test-package.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build-test-package.yml b/.github/workflows/build-test-package.yml index 43bddbd..ed11b2f 100644 --- a/.github/workflows/build-test-package.yml +++ b/.github/workflows/build-test-package.yml @@ -65,6 +65,14 @@ jobs: dotnet test working-directory: test/Explore.Cli.Tests + - uses: pactflow/actions/publish-pact-files@main + env: + pactfiles: pacts + PACT_BROKER_BASE_URL: ${{ secrets.PACT_BROKER_BASE_URL }} + PACT_BROKER_TOKEN: ${{ secrets.PACT_BROKER_TOKEN }} + version: ${{ env.GITHUB_SHA }} + working-directory: test/Explore.Cli.Tests + - name: Create Package run: dotnet pack --configuration $BUILD_CONFIG -o:package /p:PackageVersion=${{ steps.gitVersion.outputs.assemblySemVer }} working-directory: src/Explore.Cli