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:
|
2022-09-27 22:35:52 +01:00
|
|
|
- uses: actions/setup-aftman@v0.3.0
|
2022-07-18 03:55:50 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
### Parameters
|
|
|
|
|name|description|default|
|
|
|
|
|---|---|---|
|
|
|
|
|`version`|`aftman` version in the form `vx.x.x`|-|
|
2022-07-18 18:39:50 +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`
|