Skip to content

Commit

Permalink
Merge pull request #52 from pactflow/fix/publish_provider_contract_in…
Browse files Browse the repository at this point in the history
…put_descs

Fix/publish provider contract input descs
  • Loading branch information
YOU54F authored Oct 22, 2024
2 parents 6c34108 + a6ec73d commit 2b4e9b5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions publish-provider-contract/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ inputs:
description: "The name of your application (usually project name)"
required: true
contract:
description: "The contract specification Default: oas"
specification:
description: "Location of the contract file"
required: true
specification:
description: "The contract specification Default: oas"
contract_content_type:
description: "The content type. eg. application/yml or application/json. defaults to application/yml"
verification_exit_code:
Expand Down Expand Up @@ -56,6 +56,7 @@ runs:
PACT_BROKER_PASSWORD: ${{ inputs.password || env.PACT_BROKER_PASSWORD }}
application_name: ${{ inputs.application_name || env.application_name }}
contract: ${{ inputs.contract || env.oas_file }}
specification: ${{ inputs.specification }}
contract_content_type: ${{ inputs.contract_content_type || env.oas_file_content_type }}
verification_exit_code: ${{ inputs.verification_exit_code || env.EXIT_CODE }}
verification_results: ${{ inputs.verification_results || env.results_file }}
Expand Down

0 comments on commit 2b4e9b5

Please sign in to comment.