Skip to content

Commit

Permalink
ci(test): publish pact vias via gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Sep 5, 2024
1 parent a3825a8 commit ceabc16
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ceabc16

Please sign in to comment.