From 6bff9d7c68c21847c2b7e2e4b43e9615a6887c7b Mon Sep 17 00:00:00 2001 From: Webber Date: Mon, 27 Jan 2020 19:52:17 +0100 Subject: [PATCH] Update readme for 0.9 (custom parameters) --- README.md | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 705c3ad1..fb78ec17 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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 }} @@ -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