Skip to content

A GitHub action that install a specific version of ecctl (Elastic Cloud control tool) and cache it on the runner. Please [✩Star] if you're using it!

License

Notifications You must be signed in to change notification settings

yokawasa/action-setup-ecctl

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

action-setup-ecctl status

action-setup-ecctl

A GitHub action that install a specific version of ecctl (Elastic Cloud control tool) and cache it on the runner

Usage

Inputs

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

Outputs

Parameter Description
ecctl-path ecctl command path

Sample Workflow

A specific version of ecctl can be setup by giving an input - version like this:

- uses: yokawasa/[email protected]
  with:
    version: 'v1.3.1'   # default is 'latest'
  id: setup
- run: |
  ecctl version

The latest version of ecctl will be setup if you don't give an input like this:

- uses: yokawasa/[email protected]
  id: setup
- run: |
  ecctl version

Developing the action

Install the dependencies

npm install

Build the typescript and package it for distribution by running ncc

npm run build && npm run format && npm run lint && npm run pack

Finally push the resutls

git add dist
git commit -a -m "prod dependencies"
git push origin releases/v0.4.2

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/yokawasa/action-setup-ecctl

Changelog

Please see the list of releases for information on changes between releases.

About

A GitHub action that install a specific version of ecctl (Elastic Cloud control tool) and cache it on the runner. Please [✩Star] if you're using it!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published