A GitHub action that install a specific version of ecctl (Elastic Cloud control tool) and cache it on the runner
| Parameter | Required | Default Value | Description |
|---|---|---|---|
version |
false |
latest |
Ecctl tool version such as v1.3.1. Ecctl vesion can be found here. |
Supported Environments: Linux and macOS
| Parameter | Description |
|---|---|
ecctl-path |
ecctl command path |
A specific version of ecctl can be setup by giving an input - version like this:
- uses: yokawasa/action-setup-ecctl@v0.4.2
with:
version: 'v1.3.1' # default is 'latest'
id: setup
- run: |
ecctl versionThe latest version of ecctl will be setup if you don't give an input like this:
- uses: yokawasa/action-setup-ecctl@v0.4.2
id: setup
- run: |
ecctl versionInstall the dependencies
npm installBuild the typescript and package it for distribution by running ncc
npm run build && npm run format && npm run lint && npm run packFinally push the resutls
git add dist
git commit -a -m "prod dependencies"
git push origin releases/v0.4.2
Bug reports and pull requests are welcome on GitHub at https://github.com/yokawasa/action-setup-ecctl
Please see the list of releases for information on changes between releases.