setup-rokit/README.md

28 lines
951 B
Markdown
Raw Normal View History

2022-07-17 22:55:50 -04:00
<div align="center">
<h1><code>setup-aftman</code></h1>
<p>
<a href="https://github.com/ok-nick/setup-aftman/actions?query=workflow%3ACI"><img src="https://github.com/ok-nick/setup-aftman/workflows/CI/badge.svg" alt="CI" /></a>
<a href="https://discord.gg/w9Bc6xH7uC"><img src="https://img.shields.io/discord/834969350061424660?label=discord" alt="discord" /></a>
</p>
</div>
2022-07-17 23:02:31 -04:00
Github action to install and run [aftman](https://github.com/LPGhatguy/aftman); a toolchain manager.
2022-07-17 22:55:50 -04:00
## Usage
```yaml
steps:
2022-07-18 13:25:28 -04:00
- uses: actions/setup-aftman@v0
2022-07-17 22:55:50 -04:00
```
### Parameters
|name|description|default|
|---|---|---|
|`version`|`aftman` version in the form `vx.x.x`|-|
2022-07-18 12:58:28 -04:00
|`trust-check`|Whether to check trusts|`true`|
2022-07-17 22:55:50 -04:00
|`trusts`|List of trusted tools separated by spaces|-|
2022-07-18 13:39:50 -04:00
|`path`|Path to the `aftman.toml` directory|`.`|
2022-07-18 11:50:58 -04:00
|`token`|Github token from `github.token`|`github.token`|
2022-07-17 22:55:50 -04:00
## Credits
2022-07-17 22:57:36 -04:00
[@nezuo](https://github.com/nezuo) - Installing `aftman` using `gh`