Action to setup Hyperledger Fabric CLIs
This action will install the Hyperledger Fabric CLIs (peer, fabric-ca-client etc) and set the path and FABRIC_CFG_CONFIG
It's not recommended to load the Fabric docker images in a GHA pipeline. Instead use the Microfab container for FV style testing.
To install the latest version
steps:
- name: Install the latest patch level of the LTS
uses: hyperledgendary/setup-hyperledger-fabric-action
To setup a specific version:
steps:
- name: Install the 2.4.7 release specifically
uses: hyperledgendary/setup-hyperledger-fabric-action
with:
version: 2.4.7
steps:
- name: Installs the last 2.5 development release and pulls docker imagaes
uses: hyperledgendary/setup-hyperledger-fabric-action
with:
version: 2.5.0-beta
steps:
- name: Installs the last 2.5 development release
uses: hyperledgendary/setup-hyperledger-fabric-action
with:
version: 2.5-dev
The actions supports the following inputs:
version
: The version to install, defaulting to2.4.7