Home

Awesome

🤖 setup-just action

Build Status

This GitHub Action will install a release of the just command runner for you.

Usage

Examples

In most cases all you will need is the following in your workflow.

- uses: extractions/setup-just@v2

If you want a specific version of just you can specify this by passing the just-version input.

- uses: extractions/setup-just@v2
  with:
    just-version: '1.4.0'

To avoid rate-limiting, the default Github token available to all actions, is automatically used to authenticate calls to Github. To override it, set the environment variable GITHUB_TOKEN or pass the input github-token.

- uses: extractions/setup-just@v2
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

or

- uses: extractions/setup-just@v2
  with:
    github-token: ${{ secrets.MY_GITHUB_TOKEN }}

Inputs

NameRequiredDescriptionTypeDefault
just-versionnoA valid NPM-style semver specification.string*
github-tokennoA Github token to authenticate API requests.string${{ github.token }}

The semver specification is passed directly to NPM's semver package. This GitHub Action will install the latest matching release. Examples include

Development

Most of the installation logic is done in a shared library located at @extractions/setup-crate.

The following commands are useful for development.

License

Licensed under either of

at your option.