An open API service indexing awesome lists of open source software.

https://github.com/resonite-modding-group/setup-resonite-env-action

Github Action to setup a build environment for Resonite plugins and mods
https://github.com/resonite-modding-group/setup-resonite-env-action

actions modding mods resonite resonite-mod resonitemodloader rml steamcmd

Last synced: 12 days ago
JSON representation

Github Action to setup a build environment for Resonite plugins and mods

Awesome Lists containing this project

README

          

# Setup Resonite Environment Action
Github action to setup Resonite for building plugins and mods.

- Downloads and caches Resonite using steamcmd.
- Creates `/Libraries` where plugins can be placed or built to.
- Sets up .Net 10.

## Usage

### Basic usage
```yml
- name: Setup build environment
id: build-env
uses: resonite-modding-group/setup-resonite-env-action@v0.2.0
with:
steam-user: ${{ secrets.STEAMUSER }}
steam-password: ${{ secrets.STEAMPASS }}
```

### Setup headless environment
```yml
- name: Setup build environment for headless branch
id: build-env
uses: resonite-modding-group/setup-resonite-env-action@v0.2.0
with:
steam-user: ${{ secrets.STEAMUSER }}
steam-password: ${{ secrets.STEAMPASS }}
branch: 'headless'
branch-password: ${{ secrets.BRANCHPASS }}
```

## Inputs

| Name | Description | Required | Default |
| ----------------- | ---------------------------------------------------------------------------------------- | -------- | ----------- |
| `resonite-path` | Path to where Resonite will be installed | no | `/Resonite` |
| `steam-user` | Steam username for SteamCMD (Provide via a secret: `secrets.STEAMUSER`) | yes | — |
| `steam-password` | Steam password for SteamCMD (Provide via a secret: `secrets.STEAMPASS`) | yes | — |
| `branch` | Branch of Resonite to use (`public`, `prerelease`, `headless`) | no | `public` |
| `branch-password` | Branch password if using a protected branch (Provide via a secret: `secrets.BRANCHPASS`) | no | |

## Outputs

| Name | Description |
| ---------------- | ------------------------------------------ |
| `resonite-path` | Path to the `Resonite` install directory |
| `libraries-path` | Path to the `Resonite\Libraries` directory |