GitHub Action
Install WP-CLI
v1.0.0
Latest version
Install wp-cli in your GitHub workflow
Install WP-CLI utility in your GitHub workflow.
This action installs the WordPress CLI from GitHub releases. It ensures the integrity and authenticity of the binary by verifying the signature and the checksum.
- uses: holyhope/install-wp-cli-github-action@main
with:
# Description: [Version of WP-CLI](https://github.com/wp-cli/wp-cli/releases) to
# install. Default: `latest` version
#
version: ""
# Description: True to check the WP-CLI binary's integrity and authenticity. False
# to skip the checks.
#
# Default: true
verify: ""
Input | Description | Default | Required |
---|---|---|---|
version |
Version of WP-CLI to install. Default: latest version |
false | |
verify |
True to check the WP-CLI binary's integrity and authenticity. False to skip the checks. | true |
false |
Output | Description |
---|---|
path |
Path to the WP-CLI binary. |