A GitHub Action to install and initialize go-ipfs to run an instance of InterPlanetary File System (IPFS) in all supported runner platforms.
This action aims to provide an environment to test DApps that rely on IPFS.
Inputs
This action automatically detects runner platform features like the operating system and the processor architecture.
ipfs_version
IPFS version, automatically resolved to the best matching released binary as per the SemVer format (default: 0.6).
run_daemon
Whether to start IPFS service daemon after installation and initialization (default: false).
Outputs
The setup process sets some output variables to be utilized in any succeeding steps.
resolved_ipfs_version
Latest matching SemVer IPFS version installed.
ipfs_download_url
Utilized IPFS distribution download URL.
peer_id
Identity of the peer as reported on initialization.
welcome_ref
Hash of the Welcome object containing readme, help, and other files.
Example usage
A simple usage in jobs.<job_id>.steps with default latest IPFS version:
- uses: ibnesayeed/setup-ipfs@master
Setting up a custom IPFS version (e.g., latest patch of IPFS 0.4.x):
请发表评论