Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Raild3x committed Feb 6, 2025
1 parent 3ce2f97 commit 6d8fe70
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<div align="center">
<h1><code>setup-rokit</code></h1>
<p>
<a href="https://github.com/raild3x/setup-rokit/actions?query=workflow%3Atest"><img src="https://github.com/raild3x/setup-rokit/workflows/test/badge.svg" alt="CI" /></a>
</p>
</div>

GitHub action to install and run [rokit](https://github.com/rojo-rbx/rokit); a toolchain manager.

## Usage
Use the latest released version of `rokit` with default parameters:
```yaml
steps:
- uses: raild3x/[email protected]
```
For a list of default parameter values, [check here](https://github.com/raild3x/setup-rokit/blob/main/action.yml#L5-L20).
### Advanced Usage
For more advanced cases, use the parameters below.
```yaml
steps:
- uses: raild3x/[email protected]
with:
version: v1.0.0 # name of git tag in rokit (uses latest by default)
path: some_dir/my_project # path to project dir containing `rokit.toml` (uses current dir by default)
cache: "false" # whether to enable binary caching between runs (false by default)
token: ${{ github.token }} # GitHub token to bypass rate limit (passed by default)
```
## Credits
[@ok-nick](https://github.com/ok-nick) - Writing the original aftman installer workflow
[@nezuo](https://github.com/nezuo) - Installing `rokit` using `gh`

0 comments on commit 6d8fe70

Please sign in to comment.