Skip to content
play

GitHub Action

flytectl-setup-action

v0.0.3 Latest version

flytectl-setup-action

play

flytectl-setup-action

Install and setup flytectl for use in other actions

Installation

Copy and paste the following snippet into your .yml file.

              

- name: flytectl-setup-action

uses: unionai-oss/[email protected]

Learn more about this action in unionai-oss/flytectl-setup-action

Choose a version

flytectl-setup-action

This action sets up flytectl for use in actions.

Usage

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

Getting started Example

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