Skip to content
package

GitHub Action

install-faas-cli

v0.2.0 Latest version

install-faas-cli

package

install-faas-cli

Install faas-cli and put it on your path

Installation

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

              

- name: install-faas-cli

uses: cpanato/faas-cli-installer@v0.2.0

Learn more about this action in cpanato/faas-cli-installer

Choose a version

faas-cli-installer GitHub Action

This action enables you to use faas-cli in your GitHub Actions workflows.

For a quick start guide on the usage of faas-cli, please refer to https://docs.openfaas.com/. For available faas-cli releases, see https://github.com/openfaas/faas-cli/releases.

Usage

Add the following entry to your Github workflow YAML file:

uses: cpanato/faas-cli-installer@main
with:
  faas-cli-release: '0.16.23' # optional

Example using a pinned version:

jobs:
  test_cosign_action:
    runs-on: ubuntu-latest

    permissions: {}

    name: Install Cosign and test presence in path
    steps:
      - name: Install faas-cli
        uses: cpanato/faas-cli-installer@main
        with:
          faas-cli-release: '0.16.23' # optional
      - name: Check install!
        run: faas-cli version

Optional Inputs

The following optional inputs:

Input Description
faas-cli-release faas-cli version to use instead of the default.