This action sets up flytectl for use in actions.
Refer to the action.yml to see all of the action parameters.
Inputs
Name | Description | Example |
---|---|---|
version | The version of flytectl to download and use, Default value is latest | v0.2.20 |
Install specific version of flytectl
steps:
- uses: actions/checkout@v2
- uses: unionai-oss/flytectl-setup-action@master
with:
version: '0.2.21' # The version of flytectl to download and use.
- run: flytectl --help
Install latest version of flytectl
steps:
- uses: actions/checkout@v2
- uses: unionai-oss/flytectl-setup-action@master
- run: flytectl --help
name: flytectl-setup-action
on: [push]
jobs:
install-flytectl:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: unionai-oss/flytectl-setup-action@master
- name: Setup demo cluster
run: flytectl demo start
- name: Setup flytectl config
run: flytectl config init