Skip to content

Commit

Permalink
ci: publish and verify with branch
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Jan 30, 2024
1 parent c0fbfcc commit 2ebec6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
run: docker-compose up -d

- name: Consumer - Publish Pact contracts
run: ./mvnw pact:publish
run: ./mvnw pact:publish -Dpact.publish.consumer.version=$(git rev-parse HEAD) -Dpact.publish.consumer.branchName=$(git rev-parse --abbrev-ref HEAD)
working-directory: consumer

- name: Provider - Pact verification
run: ./mvnw verify
run: ./mvnw verify -Dpact.verifier.publishResults=true -Dpact.provider.version=$(git rev-parse HEAD) -Dpact.provider.branch=$(git rev-parse --abbrev-ref HEAD)
working-directory: provider

0 comments on commit 2ebec6d

Please sign in to comment.