Skip to content

Commit

Permalink
Update readme for 0.9 (custom parameters)
Browse files Browse the repository at this point in the history
  • Loading branch information
webbertakken committed Jan 27, 2020
1 parent 7d51d12 commit 6bff9d7
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ collection repository for workflow documentation and reference implementation.
Create or edit the file called `.github/workflows/main.yml` and add a job to it.

```yaml
- uses: webbertakken/unity-builder@v0.5
- uses: webbertakken/unity-builder@v0.9
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- Switch # Build a Nintendo Switch player.
steps:
- uses: actions/checkout@v1
- uses: webbertakken/unity-builder@v0.5
- uses: webbertakken/unity-builder@v0.9
with:
projectPath: ${{ matrix.projectPath }}
unityVersion: ${{ matrix.unityVersion }}
Expand Down Expand Up @@ -161,6 +161,25 @@ _**example:**_
_**required:** `false`_
_**default:** Built-in script that will run a build out of the box._

#### customParameters

Custom parameters to configure the build.

Parameters must start with a hyphen (`-`) and may be followed by a value (without hyphen).

Parameters without a value will be considered booleans (with a value of true).

_**example:**_

```yaml
- uses: webbertakken/unity-builder@master
with:
customParameters: -profile SomeProfile -someBoolean -someValue exampleValue
```

_**required:** `false`_
_**default:** ""_

## More actions

Visit
Expand Down

0 comments on commit 6bff9d7

Please sign in to comment.