Skip to content

citrusframework/yaks-install-action

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A GitHub Action for installing and using YAKS client tools

Resources

License

Stars

Watchers

Forks

Packages

No packages published