GitHub action to install and cache the amber tool.
In most cases all you need is the following in your workflow:
- uses: psibi/setup-amber@v2.0.0If you want a specific version of amber, you can specify this by passing the amber-version input:
- uses: psibi/setup-amber@v2.0.0
with:
amber-version: 'v0.1.3'In rare circumstances you might get rate limiting errors, this is
because this workflow has to make requests to GitHub API in order to
list available releases. If this happens you can set the
GITHUB_TOKEN environment variable.
- uses: psibi/setup-amber@v2.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}| Name | Required | Description | Type | Default |
|---|---|---|---|---|
amber-version |
no | A valid NPM-style semver specification. | string | * |