:wave: Currently using BDCT and using github acti...
# pactflow
s
👋 Currently using BDCT and using github actions to do
can-i-deploy
Recently seeing an issue where the contract comparison takes longer and the build fails....Suggested fix :https://docs.pactflow.io/docs/bi-directional-contract-testing/deploying#polling was to use retries and wait time.....Wondering if these params are available via current github actions https://github.com/pactflow/actions/blob/main/can-i-deploy/canideployTo.sh
y
Hey @Sugi S You are correct, it hasn’t been mapped yet, it was requested https://github.com/pactflow/actions/issues/20 I don’t think we fancy the maintenance of individual actions, so may not update them in a timely manner, but happy to accept a pull request. I’ve just updated the repo with a generic action which gives access to the full cli bundle via a single action, so you should be able to set parameters to your hearts content 🙂
❤️ 1
you should be able to add this in now
Copy code
- uses: pactflow/actions@main
      - run: pact-broker help
        if: runner.os != 'windows'
        shell: bash
      - name: pact-broker.bat on bash
        run: pact-broker.bat help
        if: runner.os == 'windows'
        shell: bash
gratitude thank you 2