From c7f434aaf3124464f9709e7cbce79e5302b9d529 Mon Sep 17 00:00:00 2001 From: Greg Tyler Date: Mon, 4 Dec 2023 14:17:15 +0000 Subject: [PATCH] debug --- .github/workflows/pact-provider-verification.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pact-provider-verification.yml b/.github/workflows/pact-provider-verification.yml index ac960d59..3c8691c1 100644 --- a/.github/workflows/pact-provider-verification.yml +++ b/.github/workflows/pact-provider-verification.yml @@ -18,7 +18,8 @@ jobs: - uses: actions/checkout@v4 - run: make build up - run: go build -o ./api-test/tester ./api-test && chmod +x ./api-test/tester - - run: export JWT=$(./api-test/tester -jwtSecret=secret JWT) + - run: echo "JWT=$(./api-test/tester -jwtSecret=secret JWT)" >> "$GITHUB_ENV" + - run: echo $JWT - name: Verify specified Pact if: ${{ github.event_name == 'repository_dispatch' }} run: | @@ -50,4 +51,7 @@ jobs: --provider-version=$(git rev-parse HEAD) \ --provider-branch=${{ github.head_ref }} \ --consumer-version-selectors='{"branch": "VEGA2174_lpastore_service"}' + - name: Debug + if: ${{ failure() }} + run: docker compose logs # --consumer-version-selectors='{"mainBranch": true}'