2022-07-18 03:55:50 +01: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-18 04:02:31 +01:00
|
|
|
Github action to install and run [aftman](https://github.com/LPGhatguy/aftman); a toolchain manager.
|
2022-07-18 03:55:50 +01:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
```yaml
|
|
|
|
steps:
|
|
|
|
- uses: actions/setup-aftman@v1
|
|
|
|
```
|
|
|
|
|
|
|
|
### Parameters
|
|
|
|
|name|description|default|
|
|
|
|
|---|---|---|
|
|
|
|
|`version`|`aftman` version in the form `vx.x.x`|-|
|
2022-07-18 17:58:28 +01:00
|
|
|
|`trust-check`|Whether to check trusts|`true`|
|
2022-07-18 03:55:50 +01:00
|
|
|
|`trusts`|List of trusted tools separated by spaces|-|
|
2022-07-18 05:24:37 +01:00
|
|
|
|`path`|Path to the `aftman.toml` directory|`./`|
|
2022-07-18 16:50:58 +01:00
|
|
|
|`token`|Github token from `github.token`|`github.token`|
|
2022-07-18 03:55:50 +01:00
|
|
|
|
|
|
|
## Credits
|
2022-07-18 03:57:36 +01:00
|
|
|
[@nezuo](https://github.com/nezuo) - Installing `aftman` using `gh`
|