Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.11 KB

README.md

File metadata and controls

49 lines (36 loc) · 1.11 KB

setup-jsonnet

Latest Release Examples

A GitHub action to install a specific version of Go Jsonnet. This action will add jsonnet and jsonnetfmt to the PATH making them available for subsequent actions.

Inputs

  • version - specifies the version of Jsonnet file to be installed. Required, defaults to latest
  • github_token - A GitHub Token. This can help with rate limits when fetching releases. Optional

Output

This Action has no outputs.

Usage

Install latest release of Jsonnet

steps:
  - id: setup-jsonnet
    uses: zendesk/setup-jsonnet@v1

Install specific release of Jsonnet

steps:
  - id: setup-jsonnet
    uses: zendesk/setup-jsonnet@v1
    with:
      version: v0.15.0

Providing a GitHub token to avoid API rate limiting

steps:
  - id: setup-jsonnet
    uses: zendesk/setup-jsonnet@v1
    with:
      github_token: ${{ github.token }}