Skip to content

Commit

Permalink
Debug contract file location
Browse files Browse the repository at this point in the history
  • Loading branch information
samanehsan committed Jan 17, 2024
1 parent 5a8b068 commit fc9e1b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/consumer_contract_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,13 @@ jobs:
distribution: 'temurin'
- name: Run consumer tests
run: ./gradlew pactTests
- name: Listing repo contents
run: |
ls build/pacts/
- name: Output consumer contract as non-breaking base64 string
id: encode-pact
run: |
NON_BREAKING_B64=$(cat service/build/pacts/datarepo-tps.json | base64 -w 0)
NON_BREAKING_B64=$(cat build/pacts/datarepo-tps.json | base64 -w 0)
echo "pact-b64=${NON_BREAKING_B64}" >> $GITHUB_OUTPUT
publish-contracts:
Expand Down

0 comments on commit fc9e1b6

Please sign in to comment.