This Action installs the planton CLI in your GitHub Actions pipelines so that it can be
used by other Actions created for Building and Deploying your Packages & Microservices.
- [
gh-action-build-java][https://github.com/plantoncloud/gh-action-build-java] - [
gh-action-build-golang][https://github.com/plantoncloud/gh-action-build-golang] - [
gh-action-build-javascript][https://github.com/plantoncloud/gh-action-build-javascript] - [
gh-action-build-protobuf][https://github.com/plantoncloud/gh-action-build-protobuf]
After gh-action-install-planton-cli is run, the planton command is available to other Actions in the pipeline's
PATH. You can also use the planto command directly inside of workflow steps.
Here's an example usage of gh-action-install-planton-cli:
steps:
# Run `git checkout`
- uses: actions/checkout@v3
# Install the `planton` CLI
- uses: plantoncloud/gh-action-install-planton-cli@main
# Ensure that `planton` is installed
- run: planton versionYou can configure gh-action-install-planton-cli with these parameters:
| Parameter | Description | Default |
|---|---|---|
version |
The version of the [planton CLI] to install |
v0.2.54 |
These parameters are derived from
action.yml.
If version is unspecified, the latest version of planton is installed:
steps:
- uses: actions/checkout@v3
# Installs latest
- uses: plantoncloud/gh-action-install-planton-cli@main
- run: planton versionUse the version parameter to pin to a specific version:
steps:
- uses: actions/checkout@v3
# Installs version v0.0.65
- uses: plantoncloud/gh-action-install-planton-cli@main
with:
version: v0.2.54
# Should output v0.2.54
- run: planton --version