Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix input descriptions #5

Merged
merged 2 commits into from
Mar 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ Other combinations of platform and processor are not currently supported.

- `roc-version` - The version of Roc to use, defaults to `nightly`.
Mutually exclusive with the `roc-version-file` input.
- `roc-version-file` - Path to the file containing the Roc version to use.
- `roc-version-file` - Path to a file containing the Roc version to use.
Mutually exclusive with the `roc-version` input.
- `token` - The token used to authenticate when fetching from GitHub.
- `token` - GitHub token to use when accessing the GitHub API.
Defaults to the automatically generated GitHub token.

### Outputs

Expand Down
6 changes: 3 additions & 3 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ description: Set up a specific version of the Roc compiler.

inputs:
roc-version:
description: The version of Roc to use, defaults to "nightly".
description: The version of Roc to use, defaults to `nightly`. Mutually exclusive with the `roc-version-file` input.
default: nightly
roc-version-file:
description: The version of Roc to use, defaults to `nightly`. Mutually exclusive with the `roc-version-file` input.
description: Path to a file containing the Roc version to use. Mutually exclusive with the `roc-version` input.
token:
description: Path to the file containing the Roc version to use. Mutually exclusive with the `roc-version` input.
description: GitHub token to use when accessing the GitHub API. Defaults to the automatically generated GitHub token.
default: ${{ github.server_url == 'https://github.com' && github.token || '' }}

outputs:
Expand Down