Skip to content

YAKS Tools

Actions
Install YAKS client
v1.1
Latest
Star (1)

YAKS Install Action

A GitHub Action for installing and using YAKS client tools.

Usage

Pre-requisites

Create a workflow YAML file in your .github/workflows directory. An example workflow is available below. For more information, reference the GitHub Help Documentation for Creating a workflow file.

Inputs

For more information on inputs, see the API Documentation

  • version: The YAKS version to use (default: latest)
  • github_token: Optional token used when fetching the latest YAKS release to avoid hitting rate limits (you should set it to ${{ secrets.GITHUB_TOKEN }})

Example Workflow

Create a workflow (eg: .github/workflows/create-cluster.yml):

name: YAKS

on: pull_request

jobs:
  yaks:
    runs-on: ubuntu-latest
    steps:
      - name: YAKS tools
        uses: citrusframework/[email protected]

This uses @citrusframework/yaks-install-action GitHub Action to install the YAKS client binaries.

Use specific version

By default, the action will resolve the latest released version of YAKS. You can provide a specific version to install though.

Create a workflow (eg: .github/workflows/create-cluster.yml):

name: YAKS

on: pull_request

jobs:
  yaks:
    runs-on: ubuntu-latest
    steps:
      - name: YAKS tools
        uses: citrusframework/[email protected]
        with:
          version: v0.15.1 

This will try to resolve a YAKS release tag with v0.15.1 and use this specific version.

Use nightly releases

YAKS framework provides access to nightly snapshot pre-release versions.

Create a workflow (eg: .github/workflows/create-cluster.yml):

name: YAKS

on: pull_request

jobs:
  yaks:
    runs-on: ubuntu-latest
    steps:
      - name: YAKS tools
        uses: citrusframework/[email protected]
        with:
          version: nightly 

This will use the latest available nightly snapshot version of YAKS.

YAKS Tools is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Install YAKS client
v1.1
Latest

YAKS Tools is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.