Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 1.17 KB

README.md

File metadata and controls

54 lines (42 loc) · 1.17 KB

actions

GitHub Actions to perform common Pact & Pactflow commands

see each subfolder for an individual readme with details on how to use :)

For the pact-ruby-standalone bundle of tools, available to the GitHub Runners shell, you can use the full fat action.

      - 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

other shells

sh

      - uses: pactflow/actions@main
      - run: pact-broker help
        if: runner.os != 'windows'
        shell: sh
      - name: pact-broker.bat on sh
        run: pact-broker.bat help
        if: runner.os == 'windows'
        shell: sh

### pwsh

      - uses: pactflow/actions@main
      - name: pact-broker.bat on pwsh
        run: pact-broker.bat help
        if: runner.os == 'windows'
        shell: pwsh

powershell

      - uses: pactflow/actions@main
      - name: pact-broker.bat on powershell
        run: pact-broker.bat help
        if: runner.os == 'windows'
        shell: powershell